aboutsummaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authorPat Haugen <pthaugen@us.ibm.com>2011-02-11 20:52:55 +0000
committerPat Haugen <pthaugen@gcc.gnu.org>2011-02-11 20:52:55 +0000
commit3f82421f9c460408f21dc8a68079957aada10c0e (patch)
tree7fab30b82e8b3e6630893a048325c907c25d1e18 /gcc/dse.c
parentf33d8408d08064367b0f8d9d29c46dbd1585f95e (diff)
downloadgcc-3f82421f9c460408f21dc8a68079957aada10c0e.zip
gcc-3f82421f9c460408f21dc8a68079957aada10c0e.tar.gz
gcc-3f82421f9c460408f21dc8a68079957aada10c0e.tar.bz2
re PR rtl-optimization/47614 (cpu2000 benchmark 301.apsi fails with revision 169782)
PR rtl-optimization/47614 * rtl.h (check_for_inc_dec): Declare. * dse.c (check_for_inc_dec): Externalize... * postreload.c (reload_cse_simplify): ...use it before deleting stmt. (reload_cse_simplify_operands): Don't simplify opnds with side effects. * testsuite/gfortran.dg/pr47614.f: New. From-SVN: r170059
Diffstat (limited to 'gcc/dse.c')
-rw-r--r--gcc/dse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index 1163981..8e9b645 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -830,7 +830,7 @@ emit_inc_dec_insn_before (rtx mem ATTRIBUTE_UNUSED,
/* Before we delete INSN, make sure that the auto inc/dec, if it is
there, is split into a separate insn. */
-static void
+void
check_for_inc_dec (rtx insn)
{
rtx note = find_reg_note (insn, REG_INC, NULL_RTX);