This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43403] New: [4.5 Regression] ICE in stage1 compiling __bswapdi2
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2010 14:30:05 -0000
- Subject: [Bug bootstrap/43403] New: [4.5 Regression] ICE in stage1 compiling __bswapdi2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/home2/dave/gcc-4.5/objdir/./gcc/xgcc -B/home2/dave/gcc-4.5/objdir/./gcc/
-B/hom
e2/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home2/dave/opt/gnu/gcc/gcc-4.5.
0/hppa-linux/lib/ -isystem /home2/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include
-isystem /home2/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys-include -g -O2 -O2
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmi
ssing-prototypes -Wold-style-definition -isystem ./include -fPIC -DELF=1
-DLIN
UX=1 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I..
/.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/..
/gcc -I../../../gcc/libgcc/../include -DHAVE_CC_TLS -o _fixunsxfsi.o -MT
_fixun
sxfsi.o -MD -MP -MF _fixunsxfsi.dep -DL_fixunsxfsi -c
../../../gcc/libgcc/../gcc
/libgcc2.c \
-fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/../gcc/libgcc2.c: In function '__bswapdi2':
../../../gcc/libgcc/../gcc/libgcc2.c:513:1: internal compiler error:
Segmentatio
n fault
Please submit a full bug report,
Program received signal SIGSEGV, Segmentation fault.
0x022d7790 in dv_uid (dv=0x3616ec8) at ../../gcc/gcc/var-tracking.c:1043
1043 return CSELIB_VAL_PTR (dv_as_value (dv))->uid;
(gdb) by
Undefined command: "by". Try "help".
(gdb) bt
#0 0x022d7790 in dv_uid (dv=0x3616ec8) at ../../gcc/gcc/var-tracking.c:1043
#1 0x022d7868 in dv_htab_hash (dv=0x3616ec8)
at ../../gcc/gcc/var-tracking.c:1061
#2 0x022dd060 in add_value_chain (loc=0xfdf01e98, dvp=0x3616ed8)
at ../../gcc/gcc/var-tracking.c:2745
...
(gdb) disass 0x022d7780 0x022d77a0
Dump of assembler code from 0x22d7780 to 0x22d77a0:
0x022d7780 <dv_uid+36>: ldw -24(r3),r26
0x022d7784 <dv_uid+40>: b,l 0x22d74b4 <dv_as_value>,rp
0x022d7788 <dv_uid+44>: nop
0x022d778c <dv_uid+48>: ldw 4(ret0),ret0
0x022d7790 <dv_uid+52>: ldw 4(ret0),ret0
0x022d7794 <dv_uid+56>: stw ret0,c(r3)
0x022d7798 <dv_uid+60>: b,l,n 0x22d7814 <dv_uid+184>,r0
0x022d779c <dv_uid+64>: ldw -24(r3),r26
End of assembler dump.
(gdb) p/x $ret0
$1 = 0x0
--
Summary: [4.5 Regression] ICE in stage1 compiling __bswapdi2
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
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=43403