[flang-commits] [flang] [flang] Make REAL/COMPLEX(10) a hard error for non-x86 targets (PR #124655)
via flang-commits
flang-commits at lists.llvm.org
Tue Jan 28 02:28:59 PST 2025
https://github.com/jeanPerier commented:
The compiler change looks good to me, but I do not like disabling tests on ARM/Power architectures just because they had one line using KIND=10.
Lit tests CHECK lines can be tuned to only do some checks on some architectures (like it is done in test/Evaluate/rewrite-out_of_range.F90 for instance).
Is there a macro detecting X86_64 that flang can use wrap parts of the code using KIND=10 (I tried `__x86_64__`, but that does not seem to work)?
Otherwise, the 10s could also be replaced by SELECTED_REAL_KIND.
https://github.com/llvm/llvm-project/pull/124655
More information about the flang-commits
mailing list