This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64877] strange warning message from -Waddress
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Jan 2015 18:16:21 +0000
- Subject: [Bug c++/64877] strange warning message from -Waddress
- Auto-submitted: auto-generated
- References: <bug-64877-4 at http dot gcc dot gnu dot org/bugzilla/>
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.