Executing on host: /home/dave/gnu/gcc-4.4/objdir/./gcc/g++ -shared-libgcc -B/hom e/dave/gnu/gcc-4.4/objdir/./gcc -nostdinc++ -L/home/dave/gnu/gcc-4.4/objdir/hppa-linux/libstdc++-v3/src -L/home/dave/gnu/gcc-4.4/objdir/hppa-linux/libstdc++-v3/ src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.4.0/hppa-linux/bin/ -B/home/dave/opt/gn u/gcc/gcc-4.4.0/hppa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.4.0/hppa-l inux/include -isystem /home/dave/opt/gnu/gcc/gcc-4.4.0/hppa-linux/sys-include -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/home/dave/gnu/gcc-4.4/objdir/hppa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/ gnu/gcc-4.4/objdir/hppa-linux/libstdc++-v3/include -I/home/dave/gnu/gcc-4.4/gcc/ libstdc++-v3/libsupc++ -I/home/dave/gnu/gcc-4.4/gcc/libstdc++-v3/include/backwar d -I/home/dave/gnu/gcc-4.4/gcc/libstdc++-v3/testsuite/util -Wl,--gc-sections /home/dave/gnu/gcc-4.4/gcc/libstdc++-v3/testsuite/26_numerics/complex/13450.cc -include bits/stdc++.h ./libtestc++.a -lm -o ./13450.exe (timeout = 600)/home/dave/gnu/gcc-4.4/gcc/libstdc++-v3/testsuite/26_numerics/complex/13450.cc: In function 'std::complex<_Tp> std::pow(const _Tp&, const std::complex<_Tp>&) [with _Tp = double]':/home/dave/gnu/gcc-4.4/gcc/libstdc++-v3/testsuite/26_numerics/complex/13450.cc:37: internal compiler error: Segmentation fault
Analyzing compilation unit Performing interprocedural optimizations <visibility> <early_local_cleanups> Program received signal SIGSEGV, Segmentation fault. loc_descriptor_from_tree_1 (loc=0x0, want_address=2) at ../../gcc/gcc/dwarf2out.c:10353 10353 switch (TREE_CODE (loc)) (gdb) bt #0 loc_descriptor_from_tree_1 (loc=0x0, want_address=2) at ../../gcc/gcc/dwarf2out.c:10353 #1 0x00291d8c in loc_descriptor_from_tree_1 (loc=0x6082ab00, want_address=2) at ../../gcc/gcc/dwarf2out.c:10438 #2 0x00298c2c in add_location_or_const_value_attribute (die=0x40443c90, decl=0x6082ab00, attr=<value optimized out>) at ../../gcc/gcc/dwarf2out.c:10789 #3 0x0029d70c in gen_formal_parameter_die (node=0x0, origin=0x40408150, context_die=0x40443c00) at ../../gcc/gcc/dwarf2out.c:13328 #4 0x0029a340 in gen_decl_die (decl=0x0, origin=0x6082ab00, context_die=0x40443c00) at ../../gcc/gcc/dwarf2out.c:15378 #5 0x0029fe84 in decls_for_scope (stmt=0x40448d58, context_die=0x40443c00, depth=3) at ../../gcc/gcc/dwarf2out.c:14986 #6 0x002a1ff8 in gen_lexical_block_die (stmt=0x40448d58, context_die=<value optimized out>, depth=3) at ../../gcc/gcc/dwarf2out.c:14225 #7 0x002a25d4 in gen_block_die (stmt=0x40448d58, context_die=0x40443cf0, depth=3) at ../../gcc/gcc/dwarf2out.c:14930 #8 0x0029fec4 in decls_for_scope (stmt=0x40448d20, context_die=0x40443cf0, depth=<value optimized out>) at ../../gcc/gcc/dwarf2out.c:14998 #9 0x002a23d0 in gen_block_die (stmt=0x40448d20, context_die=0x40443cf0, depth=2) at ../../gcc/gcc/dwarf2out.c:14933 #10 0x0029fec4 in decls_for_scope (stmt=0x40448ce8, context_die=0x40443cf0, ---Type <return> to continue, or q <return> to quit--- depth=<value optimized out>) at ../../gcc/gcc/dwarf2out.c:14998 #11 0x002a1ff8 in gen_lexical_block_die (stmt=0x40448ce8, context_die=<value optimized out>, depth=1) at ../../gcc/gcc/dwarf2out.c:14225 #12 0x002a25d4 in gen_block_die (stmt=0x40448ce8, context_die=0x40443b70, depth=1) at ../../gcc/gcc/dwarf2out.c:14930 #13 0x0029fec4 in decls_for_scope (stmt=0x403416c8, context_die=0x40443b70, depth=<value optimized out>) at ../../gcc/gcc/dwarf2out.c:14998 #14 0x002a02c0 in gen_subprogram_die (decl=0x4036cd00, context_die=0x22) at ../../gcc/gcc/dwarf2out.c:13838 #15 0x0029a47c in gen_decl_die (decl=0x4036cd00, origin=0x0, context_die=0x602efe80) at ../../gcc/gcc/dwarf2out.c:15292 #16 0x0029a020 in dwarf2out_abstract_function (decl=0x4036cd00) at ../../gcc/gcc/dwarf2out.c:13489 #17 0x001d7f34 in expand_call_inline (bb=0x40447940, stmt=0x403ae370, id=0xfb66c130) at ../../gcc/gcc/tree-inline.c:3448 #18 0x001d919c in optimize_inline_calls (fn=0x4036ef00) at ../../gcc/gcc/tree-inline.c:3477 #19 0x0068a040 in cgraph_early_inlining () at ../../gcc/gcc/ipa-inline.c:1530 #20 0x00413664 in execute_one_pass (pass=0x996528) at ../../gcc/gcc/passes.c:1277 #21 0x004138f8 in execute_pass_list (pass=0x996528) at ../../gcc/gcc/passes.c:1326 ---Type <return> to continue, or q <return> to quit--- #22 0x0041390c in execute_pass_list (pass=0x91f5d4) at ../../gcc/gcc/passes.c:1327 #23 0x00413cc0 in execute_ipa_pass_list (pass=0x91f5a0) at ../../gcc/gcc/passes.c:890 #24 0x0068406c in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1239 #25 0x000cf248 in cp_write_global_declarations () at ../../gcc/gcc/cp/decl2.c:3645 #26 0x004cbc40 in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../gcc/gcc/toplev.c:981 #27 0x406495a4 in __libc_start_main () from /lib/libc.so.6 #28 0x00020ff8 in _start () (gdb) p/x $pc $1 = 0x29100c (gdb) disass 0x291000 0x29101c Dump of assembler code from 0x291000 to 0x29101c: 0x00291000 <loc_descriptor_from_tree_1+32>: stw r7,-54(sp) 0x00291004 <loc_descriptor_from_tree_1+36>: stw r6,-50(sp) 0x00291008 <loc_descriptor_from_tree_1+40>: stw r5,-4c(sp) 0x0029100c <loc_descriptor_from_tree_1+44>: ldh 0(r26),r9 ... (gdb) p/x $r26 $3 = 0x0 d...@hiauly6:~/gnu/gcc-4.4/objdir/gcc$ ./xgcc -B./ -v Reading specs from ./specs Target: hppa-linux Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --prefix=/home/dave/opt/gnu/gcc/gcc-4.4.0 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada Thread model: posix gcc version 4.4.0 20090301 (experimental) [trunk revision 144533] (GCC) -- Summary: [4.4 Regression] ICE at dwarf2out.c:10353 in loc_descriptor_from_tree_1 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa-unknown-linux-gnu GCC host triplet: hppa-unknown-linux-gnu GCC target triplet: hppa-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355