From 415591122da665db1059faae87fb2d8c8097ffb6 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Sat, 25 Jan 2003 17:37:42 +0000 Subject: 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 --- gcc/toplev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 1ab3f820..60370c2 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2925,7 +2925,8 @@ rest_of_compilation (decl) } /* Instantiate any remaining CONSTANT_P_RTX nodes. */ - purge_builtin_constant_p (); + if (optimize > 0 && flag_gcse) + purge_builtin_constant_p (); /* Move constant computations out of loops. */ -- cgit v1.1