[Bug c++/53301] [4.8 Regression] Spurious -Wzero-as-null-pointer-constant with reference arguments
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu May 10 00:41:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53301
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-05-09
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
Target Milestone|--- |4.7.1
Summary|Spurious |[4.8 Regression] Spurious
|-Wzero-as-null-pointer-cons |-Wzero-as-null-pointer-cons
|tant with reference |tant with reference
|arguments |arguments
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-09 22:34:00 UTC ---
In a sense this is a regression caused by the fix for PR52718, 4.7.0 doesn't
warn. Tightening the check shouldn't be very difficult.
More information about the Gcc-bugs
mailing list