[clang] [Clang][Driver] Warn on complex number range incompatibility with GCC (PR #144468)

2025-06-19 Thread Shunsuke Watanabe via cfe-commits
@@ -520,6 +520,9 @@ def warn_drv_math_errno_enabled_after_veclib: Warning< "math errno enabled by '%0' after it was implicitly disabled by '%1'," " this may limit the utilization of the vector library">, InGroup; +def warn_drv_gcc_incompatible_complex_range_override: Warn

[clang] [Clang][Driver] Warn on complex number range incompatibility with GCC (PR #144468)

2025-06-17 Thread Shunsuke Watanabe via cfe-commits
@@ -520,6 +520,9 @@ def warn_drv_math_errno_enabled_after_veclib: Warning< "math errno enabled by '%0' after it was implicitly disabled by '%1'," " this may limit the utilization of the vector library">, InGroup; +def warn_drv_gcc_incompatible_complex_range_override: Warn

[clang] [Clang][Driver] Warn on complex number range incompatibility with GCC (PR #144468)

2025-06-16 Thread Shunsuke Watanabe via cfe-commits
https://github.com/s-watanabe314 created https://github.com/llvm/llvm-project/pull/144468 This patch adds a warning for incompatible complex number behavior compared to GCC due to Clang's "last-flag-wins" rule. Incompatibilities with GCC occur in the following seven cases. Clang uses the last

[clang] [Clang][Driver] Override complex number calculation method by -fno-fast-math (PR #132680)

2025-06-11 Thread Shunsuke Watanabe via cfe-commits
https://github.com/s-watanabe314 closed https://github.com/llvm/llvm-project/pull/132680 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Driver] Override complex number calculation method by -fno-fast-math (PR #132680)

2025-06-11 Thread Shunsuke Watanabe via cfe-commits
https://github.com/s-watanabe314 updated https://github.com/llvm/llvm-project/pull/132680 >From 9265cb96cc3129fada722d7195a1cf04e985ba33 Mon Sep 17 00:00:00 2001 From: s-watanabe314 Date: Fri, 14 Mar 2025 11:56:32 +0900 Subject: [PATCH 1/4] [Clang][Driver] Override complex number calculation m

[clang] [Clang][Driver] Override complex number calculation method by -fno-fast-math (PR #132680)

2025-06-10 Thread Shunsuke Watanabe via cfe-commits
s-watanabe314 wrote: Thank you for the review! I will also merge a minor change to initialize `ComplexRangeStr` and `GccRangeComplexOption` together. https://github.com/llvm/llvm-project/pull/132680 ___ cfe-commits mailing list cfe-commits@lists.llvm.