[flang-commits] [flang] fix optional wait wrongly treated as false (PR #78149)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Jan 15 04:49:29 PST 2024


================
@@ -39,7 +46,7 @@ end subroutine all_args
 subroutine only_command_default_wait_true(command)
 CHARACTER(30) :: command
 call execute_command_line(command)
-! CHECK-NEXT:     %c41_i32 = arith.constant 41 : i32 
+! CHECK-NEXT:     %c48_i32 = arith.constant 48 : i32 
----------------
kiranchandramohan wrote:

Using the name of the constant might be prone to error. Capture this in a value and use that value for checking.

https://github.com/llvm/llvm-project/pull/78149


More information about the flang-commits mailing list