[flang-commits] [flang] [Flang] Support -Werror=<name> and -Wno-error=<name> (PR #205413)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Wed Jun 24 11:49:28 PDT 2026


================
@@ -0,0 +1,52 @@
+! Verify -Werror / -Werror= / -Wno-error / -Wno-error= for Flang warning groups.
+!
+! Portability warning from -pedantic on ichar('ab').
+! Redundant-attribute warning from duplicate SAVE on integer, save, save :: x.
+! Use -Wno-redundant-attribute on portability-only runs so they stay isolated.
+
+!--- Baseline (no -pedantic) --------------------------------------------------
----------------
tarunprabhu wrote:

We could probably do without the excessive formatting for these separators. Just the text should be sufficient.

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


More information about the flang-commits mailing list