From: DJ Delorie Date: Thu, 10 Feb 2011 19:41:26 +0000 (-0500) Subject: m32c.c (m32c_option_override): Disable -fcombine-stack-adjustments until flag value... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a440316492e5356d08770dbac6c6b2da17aadf1b;p=gcc.git m32c.c (m32c_option_override): Disable -fcombine-stack-adjustments until flag value tracking and compare... * config/m32c/m32c.c (m32c_option_override): Disable -fcombine-stack-adjustments until flag value tracking and compare optimization can be rewritten. From-SVN: r170022 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 463409c6486..83866c179ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-02-10 DJ Delorie + + * config/m32c/m32c.c (m32c_option_override): Disable + -fcombine-stack-adjustments until flag value tracking and compare + optimization can be rewritten. + 2011-02-10 Peter Bergner * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index ef0a311518c..83bf86c2071 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -454,6 +454,11 @@ m32c_option_override (void) This is always worse than an absolute call. */ if (TARGET_A16) flag_no_function_cse = 1; + + /* This wants to put insns between compares and their jumps. */ + /* FIXME: The right solution is to properly trace the flags register + values, but that is too much work for stage 4. */ + flag_combine_stack_adjustments = 0; } #undef TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE