[Bug c++/64877] strange warning message from -Waddress

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 30 18:16:00 GMT 2015


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

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

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #0)
> The message here is strange.  Whether or not the address can be NULL
> is not an issue.  I don't see why -Waddress ought to warn here at all.

Hard to say without a minimized testcase.


More information about the Gcc-bugs mailing list