This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/12529] New: [tree-ssa]: splitting critical edges causes handle_switch_split abort


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]