diff options
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r-- | gcc/config/sparc/sparc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 6b6f155..d90a260 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -1906,7 +1906,7 @@ sparc_option_override (void) target_flags &= ~MASK_FSMULD; /* Supply a default value for align_functions. */ - if (align_functions == 0) + if (flag_align_functions && !str_align_functions) { if (sparc_cpu == PROCESSOR_ULTRASPARC || sparc_cpu == PROCESSOR_ULTRASPARC3 @@ -1914,10 +1914,10 @@ sparc_option_override (void) || sparc_cpu == PROCESSOR_NIAGARA2 || sparc_cpu == PROCESSOR_NIAGARA3 || sparc_cpu == PROCESSOR_NIAGARA4) - align_functions = 32; + str_align_functions = "32"; else if (sparc_cpu == PROCESSOR_NIAGARA7 || sparc_cpu == PROCESSOR_M8) - align_functions = 64; + str_align_functions = "64"; } /* Validate PCC_STRUCT_RETURN. */ |