[flang-commits] [flang] 9ed0755 - [flang] Fix Preprocessing/bug129131.F test on Darwin (#123094)

via flang-commits flang-commits at lists.llvm.org
Thu Jan 16 05:21:24 PST 2025


Author: Leandro Lupori
Date: 2025-01-16T10:21:21-03:00
New Revision: 9ed075595e14cd1f71fc5e75512ab476547b5362

URL: https://github.com/llvm/llvm-project/commit/9ed075595e14cd1f71fc5e75512ab476547b5362
DIFF: https://github.com/llvm/llvm-project/commit/9ed075595e14cd1f71fc5e75512ab476547b5362.diff

LOG: [flang] Fix Preprocessing/bug129131.F test on Darwin (#123094)

On Darwin, the --isysroot flag must also be specified. This
happens when either %flang or %flang_fc1 is expanded. As -fc1 must
be the first argument, %flang_fc1 must be used in tests, instead of
%flang -fc1.

Added: 
    

Modified: 
    flang/test/Preprocessing/bug129131.F

Removed: 
    


################################################################################
diff  --git a/flang/test/Preprocessing/bug129131.F b/flang/test/Preprocessing/bug129131.F
index 00aba5da2c7cbd..43bbfdc232f92f 100644
--- a/flang/test/Preprocessing/bug129131.F
+++ b/flang/test/Preprocessing/bug129131.F
@@ -1,4 +1,4 @@
-! RUN: %flang -fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
+! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
 ! CHECK: PRINT *, 2_4
 ! CHECK: PRINT *, 1_4
 #define a ,3


        


More information about the flang-commits mailing list