re PR target/12900 (g++ ICE in rtl_verify_flow_info_1)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 27 Nov 2003 06:36:52 +0000 (07:36 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 27 Nov 2003 06:36:52 +0000 (06:36 +0000)
commitecb63641ffab9d9e808620c2f6b68ec08e188cfa
tree2399061889033b7aca744577fc2100477d02145f
parent316d0b19813c17613fe2dd80f8bba4fd2001eca3
re PR target/12900 (g++ ICE in rtl_verify_flow_info_1)

PR target/12900
* reg-stack (move_for_stack_reg): New prototype.  Return
whether a control flow insn was deleted.
(subst_stack_regs_pat): Likewise, using the information provided
by move_for_stack_reg.
(subst_stack_regs): Likewise, using the information provided
by subst_stack_regs_pat.
(convert_regs_1): Record whether a control flow insn was deleted,
using the information provided by subst_stack_regs.  Purge dead
edges only if a control flow insn was deleted.

From-SVN: r73977
gcc/ChangeLog
gcc/reg-stack.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/reg-stack4.C [new file with mode: 0644]