diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9a199810d5c0..1801df9a94af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-03 Steven Bosscher + + * passes.c (rest_of_compilation): Don't run regmove if only + flag_expensive_optimizations, require flag_regmove instead. + 2005-01-03 Eric Botcazou * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not diff --git a/gcc/passes.c b/gcc/passes.c index 5e808e923080..1dc45ff643eb 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1678,7 +1678,7 @@ rest_of_compilation (void) && !user_defined_section_attribute) rest_of_handle_partition_blocks (); - if (optimize > 0 && (flag_regmove || flag_expensive_optimizations)) + if (optimize > 0 && flag_regmove) rest_of_handle_regmove (); /* Do unconditional splitting before register allocation to allow machine