[flang-commits] [flang] [flang] Fix Funderscoring TC failure on AIX [NFC] (PR #73543)

via flang-commits flang-commits at lists.llvm.org
Mon Nov 27 08:56:25 PST 2023


https://github.com/madanial0 created https://github.com/llvm/llvm-project/pull/73543

Change fundersoring test with a more accurate regex to ensure the lack of a trailing underscore, current TC is failing on AIX

>From c95e141bd24822e2634eeb8086e59ae1051b8668 Mon Sep 17 00:00:00 2001
From: Mark Danial <madanial at dixon.rtp.raleigh.ibm.com>
Date: Mon, 27 Nov 2023 10:36:47 -0500
Subject: [PATCH] [flang] Fix Funderscoring TC failure on AIX [NFC]

---
 flang/test/Driver/underscoring.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flang/test/Driver/underscoring.f90 b/flang/test/Driver/underscoring.f90
index 7c03d040504ea54..8a9ed80ea4daba1 100644
--- a/flang/test/Driver/underscoring.f90
+++ b/flang/test/Driver/underscoring.f90
@@ -21,4 +21,4 @@ subroutine test()
 ! NO-UNDERSCORING-NOT: ext_sub_
 ! NO-UNDERSCORING: {{ext_sub[^_]*$}}
 ! NO-UNDERSCORING-NOT: comblk_
-! NO-UNDERSCORING: comblk,
+! NO-UNDERSCORING: {{comblk[^_]*$}}



More information about the flang-commits mailing list