------- Comment #4 from arthur dot loiret at gmail dot com  2009-01-04 03:49 
-------
Created an attachment (id=17027)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17027&action=view)
reduced testcase

Here is a first reduced testcase, with it I get:

$ ./gcc/cc1plus -quiet /tmp/bug.cc
/tmp/bug.cc: In member function 'void std::basic_istream<char,
std::char_traits<char> >::_ZTv0_n24_NSiD1Ev()':
/tmp/bug.cc:97: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) run -quiet /tmp/bug.cc
Starting program: /home/arthur/build/gcc/cc1plus -quiet /tmp/bug.cc

Program received signal SIGSEGV, Segmentation fault.
alpha_end_function (file=0x120b962c0, fnname=0x20000c74e80 "_ZTv0_n24_NSiD1Ev",
decl=<value optimized out>) at ../../src/gcc/config/alpha/alpha.c:8270
8270      if (!INSN_P (insn))
(gdb) bt
#0  alpha_end_function (file=0x120b962c0, fnname=0x20000c74e80
"_ZTv0_n24_NSiD1Ev", decl=<value optimized out>) at
../../src/gcc/config/alpha/alpha.c:8270
#1  0x00000001207ba400 in assemble_end_function (decl=0x20000c67a00,
fnname=0x20000c74e80 "_ZTv0_n24_NSiD1Ev") at ../../src/gcc/varasm.c:1775
#2  0x0000000120155584 in use_thunk (thunk_fndecl=0x20000c67a00, emit_p=<value
optimized out>) at ../../src/gcc/cp/method.c:445
#3  0x0000000120162990 in emit_associated_thunks (fn=<value optimized out>) at
../../src/gcc/cp/semantics.c:3144
#4  0x00000001207e4fdc in cgraph_expand_function (node=0x20000c8c800) at
../../src/gcc/cgraphunit.c:1046
#5  0x00000001207e5338 in cgraph_output_in_order () at
../../src/gcc/cgraphunit.c:1195
#6  0x00000001207e7d60 in cgraph_optimize () at ../../src/gcc/cgraphunit.c:1306
#7  0x00000001200d57e4 in cp_write_global_declarations () at
../../src/gcc/cp/decl2.c:3630
#8  0x000000012059d61c in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../src/gcc/toplev.c:981
#9  0x000000012022b8e8 in main (argc=549020352, argv=0x20000c74e80) at
../../src/gcc/main.c:35


-- 


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

Reply via email to