OSDN Git Service

Fix thinko from r179765
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2011 16:42:24 +0000 (16:42 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2011 16:42:24 +0000 (16:42 +0000)
* config/avr/avr.c (avr_option_override): Don't override
flag_omit_frame_pointer if not actually needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179994 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/avr/avr.c

index add57f0..48b703c 100644 (file)
@@ -1,5 +1,11 @@
 2011-10-14  Georg-Johann Lay  <avr@gjlay.de>
 
+       Fix thinko from r179765
+       * config/avr/avr.c (avr_option_override): Don't override
+       flag_omit_frame_pointer if not actually needed.
+       
+2011-10-14  Georg-Johann Lay  <avr@gjlay.de>
+
        PR target/46278
        * doc/invoke.texi (AVR Options): Document -mstrict-X.
 
index d34ac6a..22db97d 100644 (file)
@@ -372,10 +372,6 @@ avr_option_override (void)
     {
       flag_omit_frame_pointer = 0;
     }
-  else
-    {
-      flag_omit_frame_pointer = (optimize >= 1);
-    }
 
   avr_current_device = &avr_mcu_types[avr_mcu_index];
   avr_current_arch = &avr_arch_types[avr_current_device->arch];