This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53301] [4.8 Regression] Spurious -Wzero-as-null-pointer-constant with reference arguments
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 May 2012 22:34:00 +0000
- Subject: [Bug c++/53301] [4.8 Regression] Spurious -Wzero-as-null-pointer-constant with reference arguments
- Auto-submitted: auto-generated
- References: <bug-53301-4@http.gcc.gnu.org/bugzilla/>
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.