OSDN Git Service

PR target/9786
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Sep 2003 06:59:51 +0000 (06:59 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Sep 2003 06:59:51 +0000 (06:59 +0000)
commit92770800d2e25d2f2f31b10090229afd3ef94951
tree617ef40caca7262bca17e44852b596b9b9383ef0
parent9a557b44aa0f5381cde0b8f65006061d2f61ea66
PR target/9786
* reg-stack.c (convert_regs_1): Purge possible dead eh edges
after potential deletion of trapping insn. Avoids later ICE
from call to fixup_abnormal_edges.
(convert_regs_2): Stack the current block successors before
processing this block, that is, before the potential deletion of
dead edges by convert_regs_1, because these edges have been used
to initialize the predecessors count.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71644 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reg-stack.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/reg-stack2.C [new file with mode: 0644]