This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12529] New: [tree-ssa]: splitting critical edges causes handle_switch_split abort
- From: "dberlin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2003 20:08:26 -0000
- Subject: [Bug bootstrap/12529] New: [tree-ssa]: splitting critical edges causes handle_switch_split abort
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12529
Summary: [tree-ssa]: splitting critical edges causes
handle_switch_split abort
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dberlin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
[root@dberlin gcc]# stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2
-fdump-tree-pre-all -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../
gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee
-I../../gcc/../libbanshee/points-to ../../gcc/recog.c -o recog.o -save-temps
../../gcc/recog.c: In function `asm_operand_ok':
../../gcc/recog.c:1586: internal compiler error: in handle_switch_split, at tree-cfg.c:3796
recog.i attached.
To reproduce, change #if 0 in split_critical_edges in tree-ssa-pre.c to #if 1.
Note that this is *not* a PRE bug. The error occurs splitting the edges in split_critical_edges, *not*
during actual PRE.
You could move the split_critical_edges code to any pass, and we would still get this failure.