28 lines
970 B
Diff
28 lines
970 B
Diff
From e27ab9062ac0132b5c36b0542503cfd976c2d53a Mon Sep 17 00:00:00 2001
|
|
From: Tom Stellard <tstellar@redhat.com>
|
|
Date: Mon, 12 Feb 2024 23:18:08 +0000
|
|
Subject: [PATCH] Fix fastmath test
|
|
|
|
---
|
|
flang/test/Driver/fast-math.f90 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/flang/test/Driver/fast-math.f90 b/flang/test/Driver/fast-math.f90
|
|
index 47175488b98b..66ba69243ebd 100644
|
|
--- a/flang/test/Driver/fast-math.f90
|
|
+++ b/flang/test/Driver/fast-math.f90
|
|
@@ -69,9 +69,9 @@
|
|
! Check that -ffast-math causes us to link to crtfastmath.o
|
|
! UNSUPPORTED: system-windows
|
|
! UNSUPPORTED: target=powerpc{{.*}}
|
|
+! REQUIRES: target=x86.{{.*}}
|
|
! RUN: %flang -ffast-math -### %s -o %t 2>&1 \
|
|
! RUN: --target=x86_64-unknown-linux -no-pie \
|
|
-! RUN: --sysroot=%S/../../../clang/test/Driver/Inputs/basic_linux_tree \
|
|
! RUN: | FileCheck --check-prefix=CHECK-CRT %s
|
|
! CHECK-CRT: {{crtbegin.?\.o}}
|
|
! CHECK-CRT-SAME: crtfastmath.o
|
|
--
|
|
2.41.0
|
|
|