[Bug middle-end/93644] [10 Regression] -Wreturn-local-addr July regression: new false-positive warning

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 9 23:05:00 GMT 2020


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=90735

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
The most likely reason the warning isn't suppressed by #pragma GCC diagnostic
is that the statement it's issued for has no source line number associated with
it.  That's also why the warning doesn't point to such a statement (only the
note does).  The details of this bug are in pr90735.


More information about the Gcc-bugs mailing list