[Bug c++/79572] [6/7 Regression] Segfault with -O1 and higher on null reference

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 17 11:08:00 GMT 2017


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Confirmed for the missing diagnostic.  I'm not sure we should count this as
> regression for the sefault - eventually the new behavior should be documented
> in porting_to.html or changes.html and maybe a -fallow-null-references
> compatibility option can be added (well, quite late now).

Well, a warning is a diagnostic. 
Lets close the issue as invalid.


More information about the Gcc-bugs mailing list