public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/39355]  New: [4.4 Regression] ICE at dwarf2out.c:10353 in loc_descriptor_from_tree_1
@ 2009-03-03  2:05 danglin at gcc dot gnu dot org
  2009-03-03  2:09 ` [Bug debug/39355] " dave at hiauly1 dot hia dot nrc dot ca
                   ` (54 more replies)
  0 siblings, 55 replies; 56+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-03-03  2:05 UTC (permalink / raw)
  To: gcc-bugs

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

dave@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


^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2010-04-30  8:55 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-03  2:05 [Bug debug/39355] New: [4.4 Regression] ICE at dwarf2out.c:10353 in loc_descriptor_from_tree_1 danglin at gcc dot gnu dot org
2009-03-03  2:09 ` [Bug debug/39355] " dave at hiauly1 dot hia dot nrc dot ca
2009-03-03 13:04 ` rguenth at gcc dot gnu dot org
2009-03-04 12:13 ` rguenth at gcc dot gnu dot org
2009-03-04 17:26 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-04 19:14 ` jakub at gcc dot gnu dot org
2009-03-04 20:46 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-05  8:07 ` jakub at gcc dot gnu dot org
2009-03-05 11:18 ` hubicka at ucw dot cz
2009-03-07 16:52 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-08 17:40 ` hjl dot tools at gmail dot com
2009-03-10  1:47 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-10  3:53 ` hjl dot tools at gmail dot com
2009-03-10  6:32 ` steven at gcc dot gnu dot org
2009-03-10  8:05 ` jakub at gcc dot gnu dot org
2009-03-14 15:02 ` hjl dot tools at gmail dot com
2009-03-14 15:52 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-14 16:15 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-14 21:31 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-15  2:22 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-15 17:37 ` [Bug debug/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c hjl dot tools at gmail dot com
2009-03-15 18:08 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-15 18:48 ` hjl dot tools at gmail dot com
2009-03-15 19:51 ` rguenth at gcc dot gnu dot org
2009-03-16  7:52 ` jakub at gcc dot gnu dot org
2009-03-16 17:20 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-16 17:26 ` hjl dot tools at gmail dot com
2009-03-17 10:42 ` jakub at gcc dot gnu dot org
2009-03-20  1:30 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-20 13:18 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-20 17:22 ` [Bug tree-optimization/39355] " jason at gcc dot gnu dot org
2009-03-20 17:29 ` rguenth at gcc dot gnu dot org
2009-03-20 18:04 ` hjl dot tools at gmail dot com
2009-03-20 19:07 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-20 19:10 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-21  0:54 ` danglin at gcc dot gnu dot org
2009-03-21 16:13 ` hjl dot tools at gmail dot com
2009-03-21 17:25 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-21 18:05 ` hjl dot tools at gmail dot com
2009-03-21 18:08 ` hjl dot tools at gmail dot com
2009-03-21 18:32 ` dave at hiauly1 dot hia dot nrc dot ca
2009-03-21 18:53 ` danglin at gcc dot gnu dot org
2009-03-21 21:59 ` danglin at gcc dot gnu dot org
2009-03-22 18:34 ` [Bug tree-optimization/39355] [4.4 Regression] Revision 144529: ICE due to missing or incorrectly relocated DECL_VALUE_EXPR in PCH header for PARM_DECL danglin at gcc dot gnu dot org
2009-03-22 19:38 ` danglin at gcc dot gnu dot org
2009-03-23 20:39 ` danglin at gcc dot gnu dot org
2009-03-24 16:32 ` danglin at gcc dot gnu dot org
2009-03-25  7:30 ` jakub at gcc dot gnu dot org
2009-03-29 18:49 ` [Bug tree-optimization/39355] [4.4/4.5 " danglin at gcc dot gnu dot org
2009-04-21 16:01 ` jakub at gcc dot gnu dot org
2009-07-22 10:32 ` jakub at gcc dot gnu dot org
2009-07-27 15:11 ` danglin at gcc dot gnu dot org
2009-07-30  3:55 ` danglin at gcc dot gnu dot org
2009-10-15 12:58 ` jakub at gcc dot gnu dot org
2010-01-21 13:19 ` jakub at gcc dot gnu dot org
2010-04-30  8:56 ` [Bug tree-optimization/39355] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).