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



--- Comment #15 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 
2012-10-23 21:16:37 UTC ---

Mingw32 target, GCC 4.8.0 20121021 (experimental).



$ cat > bug.cc

struct S {

  ~S();

};



int main()

{

  S s1, s2, s3, s4, s5, s6, s7;

  return 0;

}

^D

$ g++ bug.cc

bug.cc: In function 'int main()':

bug.cc:9:1: internal compiler error: Segmentation fault

 }

 ^

0x87e5f10 crash_signal

    ../../gcc-4.8/gcc/toplev.c:335

0x87d2428 emit_case_dispatch_table

    ../../gcc-4.8/gcc/stmt.c:1919

0x87d4ae5 expand_sjlj_dispatch_table(rtx_def*, vec_t<tree_node*>*)

    ../../gcc-4.8/gcc/stmt.c:2292

0x853e6cc sjlj_emit_dispatch_table

    ../../gcc-4.8/gcc/except.c:1363

0x853f900 sjlj_build_landing_pads

    ../../gcc-4.8/gcc/except.c:1420

0x853fa5b finish_eh_generation()

    ../../gcc-4.8/gcc/except.c:1454

0x8487921 gimple_expand_cfg

    ../../gcc-4.8/gcc/cfgexpand.c:4579

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to