[flang-commits] [flang] bea4502 - [flang] match alternate names for crtbegin in fastmath test
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Dec 12 03:29:43 PST 2022
Author: Tom Eccles
Date: 2022-12-12T11:28:21Z
New Revision: bea45027b43ec61a3efc4b487ceca2da25504432
URL: https://github.com/llvm/llvm-project/commit/bea45027b43ec61a3efc4b487ceca2da25504432
DIFF: https://github.com/llvm/llvm-project/commit/bea45027b43ec61a3efc4b487ceca2da25504432.diff
LOG: [flang] match alternate names for crtbegin in fastmath test
The fastmath test checks that crtfastmath.o is added between crtbeginS.o
and crtend.o. On some systems the first file is instead called
crtbegin.o - match these too.
Related to https://reviews.llvm.org/D138675
Added:
Modified:
flang/test/Driver/fast_math.f90
Removed:
################################################################################
diff --git a/flang/test/Driver/fast_math.f90 b/flang/test/Driver/fast_math.f90
index 4427d1ee437a..6a228158bdf9 100644
--- a/flang/test/Driver/fast_math.f90
+++ b/flang/test/Driver/fast_math.f90
@@ -60,6 +60,6 @@
! UNSUPPORTED: system-windows, powerpc
! RUN: %flang -ffast-math -### %s -o %t 2>&1 \
! RUN: | FileCheck --check-prefix=CHECK-CRT %s
-! CHECK-CRT: crtbeginS.o
+! CHECK-CRT: {{crtbegin.?\.o}}
! CHECK-CRT-SAME: crtfastmath.o
! CHECK-CRT-SAME: crtendS.o
More information about the flang-commits
mailing list