https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123025

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #10 from anlauf at gcc dot gnu.org ---
Since the old-style declarations were used in legacy code,
I thought about auditing the affected testcases and adding

! { dg-additional-options "-std=legacy" }

where appropriate to also indicate that this is legacy code, as we might
change the default warnings emitted with -std=gnu in the future.

However, I learned that -pedantic seems to ignore -std=legacy.

Would it make sense to ignore -pedantic when -std=legacy is specified?

Reply via email to