diff options
Diffstat (limited to 'gcc/config/mep/mep.c')
-rw-r--r-- | gcc/config/mep/mep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 0e6ce08..712abbe 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -291,8 +291,8 @@ mep_conditional_register_usage (void) global_regs[i] = 1; } -void -mep_optimization_options (void) +static void +mep_option_optimization (int level ATTRIBUTE_UNUSED, int size ATTRIBUTE_UNUSED) { /* The first scheduling pass often increases register pressure and tends to result in more spill code. Only run it when specifically asked. */ @@ -7411,6 +7411,8 @@ mep_asm_init_sections (void) #define TARGET_HANDLE_OPTION mep_handle_option #undef TARGET_OPTION_OVERRIDE #define TARGET_OPTION_OVERRIDE mep_option_override +#undef TARGET_OPTION_OPTIMIZATION +#define TARGET_OPTION_OPTIMIZATION mep_option_optimization #undef TARGET_DEFAULT_TARGET_FLAGS #define TARGET_DEFAULT_TARGET_FLAGS TARGET_DEFAULT #undef TARGET_ALLOCATE_INITIAL_VALUE |