diff options
Diffstat (limited to 'contrib/gcc/final.c')
-rw-r--r-- | contrib/gcc/final.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/gcc/final.c b/contrib/gcc/final.c index 9769409..a89d5b8 100644 --- a/contrib/gcc/final.c +++ b/contrib/gcc/final.c @@ -1706,9 +1706,9 @@ static void profile_function (file) FILE *file; { -#ifndef NO_PROFILE_DATA +#ifndef NO_PROFILE_COUNTERS int align = MIN (BIGGEST_ALIGNMENT, LONG_TYPE_SIZE); -#endif /* not NO_PROFILE_DATA */ +#endif #if defined(ASM_OUTPUT_REG_PUSH) #if defined(STRUCT_VALUE_INCOMING_REGNUM) || defined(STRUCT_VALUE_REGNUM) int sval = current_function_returns_struct; @@ -1718,12 +1718,12 @@ profile_function (file) #endif #endif /* ASM_OUTPUT_REG_PUSH */ -#ifndef NO_PROFILE_DATA +#ifndef NO_PROFILE_COUNTERS data_section (); ASM_OUTPUT_ALIGN (file, floor_log2 (align / BITS_PER_UNIT)); ASM_OUTPUT_INTERNAL_LABEL (file, "LP", profile_label_no); assemble_integer (const0_rtx, LONG_TYPE_SIZE / BITS_PER_UNIT, 1); -#endif /* not NO_PROFILE_DATA */ +#endif function_section (current_function_decl); @@ -3115,7 +3115,7 @@ alter_subreg (x) PUT_CODE (x, MEM); MEM_COPY_ATTRIBUTES (x, y); MEM_ALIAS_SET (x) = MEM_ALIAS_SET (y); - XEXP (x, 0) = plus_constant (XEXP (y, 0), offset); + XEXP (x, 0) = plus_constant_for_output (XEXP (y, 0), offset); } return x; |