diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |