[flang] Match alternative names for crtend in fastmath test
authorTom Eccles <tom.eccles@arm.com>
Mon, 12 Dec 2022 13:31:06 +0000 (13:31 +0000)
committerTom Eccles <tom.eccles@arm.com>
Mon, 12 Dec 2022 13:32:38 +0000 (13:32 +0000)
The fastmath test checks that crtfastmath.o is added between crtbeginS.o
and crtendS.o. On some systems, crtend is called crtend.o - match these
too.

Related to https://reviews.llvm.org/D138675

flang/test/Driver/fast_math.f90

index 6a22815..84455ef 100644 (file)
@@ -62,4 +62,4 @@
 ! RUN:     | FileCheck --check-prefix=CHECK-CRT %s
 ! CHECK-CRT: {{crtbegin.?\.o}}
 ! CHECK-CRT-SAME: crtfastmath.o
-! CHECK-CRT-SAME: crtendS.o
+! CHECK-CRT-SAME: {{crtend.?\.o}}