Re: RFA (i386): PATCH to ix86_code_end to set DECL_IGNORED_P on the PC thunk

2012-05-01 Thread Richard Henderson
On 05/01/2012 12:37 PM, Jason Merrill wrote: * config/i386/i386.c (ix86_code_end): Set DECL_IGNORED_P on the pc thunk. * dwarf2out.c (output_aranges): Skip DECL_IGNORED_P functions. (dwarf2out_finish): Likewise. Ok. r~

RFA (i386): PATCH to ix86_code_end to set DECL_IGNORED_P on the PC thunk

2012-05-01 Thread Jason Merrill
While working on another DWARF patch I ran into a crash because we didn't set DECL_IGNORED_P on the PC thunk, but we also don't emit any debug info for it. Since there's no debug info, we should set DECL_IGNORED_P, and we shouldn't add ignored functions to .debug_aranges or .debug_ranges. OK