[Bug c++/71121] Spurious warning: "the address of [...] will never be NULL [-Waddress]"
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 16 15:55:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71121
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-05-16
CC| |jason at gcc dot gnu.org,
| |msebor at gcc dot gnu.org
Known to work| |5.3.0
Blocks| |55004
Ever confirmed|0 |1
Known to fail| |6.1.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with 6.1.0 and today's top of trunk (7.0). Both the auto and the
constexpr appear to be necessary to trigger the warning. The regression
appears to have been introduced in r234940.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
[Bug 55004] [meta-bug] constexpr issues
More information about the Gcc-bugs
mailing list