diff options
author | Pat Haugen <pthaugen@us.ibm.com> | 2011-02-11 20:52:55 +0000 |
---|---|---|
committer | Pat Haugen <pthaugen@gcc.gnu.org> | 2011-02-11 20:52:55 +0000 |
commit | 3f82421f9c460408f21dc8a68079957aada10c0e (patch) | |
tree | 7fab30b82e8b3e6630893a048325c907c25d1e18 /gcc/rtl.h | |
parent | f33d8408d08064367b0f8d9d29c46dbd1585f95e (diff) | |
download | gcc-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/rtl.h')
-rw-r--r-- | gcc/rtl.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2302,6 +2302,9 @@ extern int cse_main (rtx, int); extern int exp_equiv_p (const_rtx, const_rtx, int, bool); extern unsigned hash_rtx (const_rtx x, enum machine_mode, int *, int *, bool); +/* In dse.c */ +extern void check_for_inc_dec (rtx insn); + /* In jump.c */ extern int comparison_dominates_p (enum rtx_code, enum rtx_code); extern int condjump_p (const_rtx); |