Commit a0814752 by Georg-Johann Lay Committed by Georg-Johann Lay

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
parent e8ac5ac9
2011-10-14 Georg-Johann Lay <avr@gjlay.de> 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 PR target/46278
* doc/invoke.texi (AVR Options): Document -mstrict-X. * doc/invoke.texi (AVR Options): Document -mstrict-X.
...@@ -372,10 +372,6 @@ avr_option_override (void) ...@@ -372,10 +372,6 @@ avr_option_override (void)
{ {
flag_omit_frame_pointer = 0; flag_omit_frame_pointer = 0;
} }
else
{
flag_omit_frame_pointer = (optimize >= 1);
}
avr_current_device = &avr_mcu_types[avr_mcu_index]; avr_current_device = &avr_mcu_types[avr_mcu_index];
avr_current_arch = &avr_arch_types[avr_current_device->arch]; avr_current_arch = &avr_arch_types[avr_current_device->arch];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment