2011/10/10 Georg-Johann Lay <a...@gjlay.de>: > toplev.c complains about "unwind tables currently require a frame pointer for > correctness". > > This patchlet supplies a fix to avoid build warnings/test fails in that it > sets > flag_omit_frame_pointer to 0 if unwind needs FP. > > toplev.c:process_options sets flag_unwind_tables depending on > flag_non_call_exceptions and flag_asynchronous_unwind_tables after calling > targetm.target_option.override() so that the test includes these flags, too. > > Ok? > > Johann > > * config/avr/avr.c (avr_option_override): Set > flag_omit_frame_pointer to 0 if frame pointer is needed for > unwinding. >
Approved. Denis.