From bea45027b43ec61a3efc4b487ceca2da25504432 Mon Sep 17 00:00:00 2001 From: Tom Eccles Date: Mon, 12 Dec 2022 11:28:21 +0000 Subject: [PATCH] [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 --- 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 4427d1e..6a22815 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 -- 2.7.4