[flang-commits] [flang] 20005a0 - [flang] Update LIT test for big-endian platform (NFC) (#193309)
via flang-commits
flang-commits at lists.llvm.org
Wed Apr 22 07:51:04 PDT 2026
Author: Kelvin Li
Date: 2026-04-22T10:50:58-04:00
New Revision: 20005a09f950bedd7734c4eef99f24dc8071a944
URL: https://github.com/llvm/llvm-project/commit/20005a09f950bedd7734c4eef99f24dc8071a944
DIFF: https://github.com/llvm/llvm-project/commit/20005a09f950bedd7734c4eef99f24dc8071a944.diff
LOG: [flang] Update LIT test for big-endian platform (NFC) (#193309)
Specify the kind type parameter to ensure the 64-bit value is correctly represented
in the big endian environment.
Added:
Modified:
flang/test/Lower/constant-logical-transfer.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/constant-logical-transfer.f90 b/flang/test/Lower/constant-logical-transfer.f90
index 8f06de2086016..9e485bb8026f2 100644
--- a/flang/test/Lower/constant-logical-transfer.f90
+++ b/flang/test/Lower/constant-logical-transfer.f90
@@ -5,7 +5,7 @@ subroutine test_transfer_constant(l4, l8)
logical(4) :: l4
logical(8) :: l8
l4 = transfer(3, .true._4)
- l8 = transfer(7, .true._8)
+ l8 = transfer(7_8, .true._8)
end subroutine
module constant_logical
More information about the flang-commits
mailing list