[Bug c++/58308] Segmentation fault: internal compiler error: in make_decl_rtl, at varasm.c:1147

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 4 08:45:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58308

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid,
                   |                            |ice-on-invalid-code
      Known to fail|                            |4.7.3, 4.8.0

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
t.C: In function 'int main()':
t.C:6:26: error: use of local variable with automatic storage from containing
function
                int *p = &x;
                          ^
t.C:3:11: note: 'int x' declared here
       int x = 666;
           ^



More information about the Gcc-bugs mailing list