re PR rtl-optimization/48389 (ICE: in make_edges, at cfgbuild.c:319 with -mtune=penti...
authorMichael Matz <matz@gcc.gnu.org>
Fri, 8 Apr 2011 20:18:08 +0000 (20:18 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Fri, 8 Apr 2011 20:18:08 +0000 (20:18 +0000)
commit42821aff0aa8c8118a0e19c2dc640b24ad26e1dc
tree913be8fcb10baa2e6e9e098eeb7d7b28a3bc79b9
parentad7be0090c0276c2526887944f5f6927e20507f2
re PR rtl-optimization/48389 (ICE: in make_edges, at cfgbuild.c:319 with -mtune=pentiumpro)

PR middle-end/48389
* jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New
functions.
(rebuild_jump_labels): Call rebuild_jump_labels_1.
* rtl.h (rebuild_jump_labels_chain): Declare.
* cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on
        insns inserted on edges.

testsuite/
* gcc.target/i386/pr48389.c: New test.

From-SVN: r172208
gcc/ChangeLog
gcc/cfgexpand.c
gcc/jump.c
gcc/rtl.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr48389.c [new file with mode: 0644]