Fix thinko from r179765

Fix thinko from r179765
	* config/avr/avr.c (avr_option_override): Don't override
	flag_omit_frame_pointer if not actually needed.

From-SVN: r179994
This commit is contained in:
Georg-Johann Lay 2011-10-14 16:42:24 +00:00 committed by Georg-Johann Lay
parent e8ac5ac96a
commit a08147527b
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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

View 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];