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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #7)
> With GCC 13 and newer we also do not diagnose with -O2 or -O3.  I have a patch
> for trunk (GCC 15) that's going to regress for -O1 (but not -O2 or -O3),
> still declaring this fixed as reported.

With GCC 13/14/trunk we diagnose with -O2 -Wsystem-headers, the warning was
just suppressed by #pragma system_header.  -O3 is OK.
  • [Bug tree-optimization/107919] ... jason at gcc dot gnu.org via Gcc-bugs

Reply via email to