diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-01-25 17:37:42 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-01-25 17:37:42 +0000 |
commit | 415591122da665db1059faae87fb2d8c8097ffb6 (patch) | |
tree | 96d3a21ee053d1cd5c6b3c5bb9f947f5d7bdccac /gcc/cse.c | |
parent | 9bb231fd7aeb51f5bdfd40e89616ca1a6bc77eee (diff) | |
download | gcc-415591122da665db1059faae87fb2d8c8097ffb6.zip gcc-415591122da665db1059faae87fb2d8c8097ffb6.tar.gz gcc-415591122da665db1059faae87fb2d8c8097ffb6.tar.bz2 |
cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not optimizing, even if flag_gcse is true.
* cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
optimizing, even if flag_gcse is true.
* toplev.c (rest_of_compilation): purge_builtin_constant_p
only needs to be called when "optimize > 0 && flag_gcse".
From-SVN: r61785
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4338,7 +4338,7 @@ fold_rtx (x, insn) { if (const_arg0) return const1_rtx; - if (!flag_gcse) + if (optimize == 0 || !flag_gcse) return const0_rtx; } break; |