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

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


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-02-17
   Target Milestone|---                         |6.4
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
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).


More information about the Gcc-bugs mailing list