This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/49007] New: ICE in extract_true_false_edges_from_block at tree-cfg.c:7379
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 15 May 2011 18:59:19 +0000
- Subject: [Bug rtl-optimization/49007] New: ICE in extract_true_false_edges_from_block at tree-cfg.c:7379
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49007
Summary: ICE in extract_true_false_edges_from_block at
tree-cfg.c:7379
Product: gcc
Version: 4.3.6
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Trunk build fails in stage2 compiling libiberty/regex.c:
make[3]: Entering directory `/test/gnu/gcc/objdir.1/libiberty'
if [ x"-fPIC" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"-fPIC" != x ]; then \
/test/gnu/gcc/objdir.1/./prev-gcc/xgcc
-B/test/gnu/gcc/objdir.1/./prev
-gcc/ -B/opt/gnu/gcc/gcc-4.7/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.7/h
ppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.7/hppa2.0w-hp-hpux11.11/lib/
-isy
stem /opt/gnu/gcc/gcc-4.7/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gc
c-4.7/hppa2.0w-hp-hpux11.11/sys-include -c -DHAVE_CONFIG_H -g -O2 -I.
-I../.
./gcc/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat
-Wstrict-proto
types -pedantic -fPIC ../../gcc/libiberty/regex.c -o pic/regex.o; \
else true; fi
../../gcc/libiberty/regex.c: In function 'byte_re_match_2_internal':
../../gcc/libiberty/regex.c:8126:1: internal compiler error: vector
VEC(edge,bas
e) index domain error, in extract_true_false_edges_from_block at
tree-cfg.c:7379
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [regex.o] Error 1
# ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.7
--with-gmp=/opt/gnu/gcc/gcc-4.7 --enable-threads=posix --enable-debug=no
--disable-nls --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.7.0 20110514 (experimental) [trunk revision 173762] (GCC)
Bootstrap:
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enab
le-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.3.6
--with-gm
p=/opt/gnu/gcc/gcc-4.3.6 --enable-threads=posix --enable-debug=no --disable-nls
--enable-checking=release
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.3.6 20110514 (prerelease) [gcc-4_3-branch revision 173762] (GCC)
Make command:
make STAGE1_CFLAGS="-g -O1" bootstrap
This is a gcc-4.3 reorg bug since bootstrap does not fail with -O0 or
STAGE1_CFLAGS="-g -O1 -fno-delayed-branch".