[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
This commit is contained in:
Tom Eccles 2022-12-12 11:28:21 +00:00
parent bb48aa20e7
commit bea45027b4

View File

@ -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