Re: [PATCH] Don't ICE in dwarf2out_switch_section with -g0 (PR debug/52027)

2012-01-30 Thread Richard Guenther
On Mon, Jan 30, 2012 at 2:40 PM, Jakub Jelinek wrote: > Hi! > > dwarf2out_switch_text_section is called even when -g0 or when not generating > dwarf debug info, if we need to handle there unwinding stuff. > But with -g0 e.g. line info tables aren't initialized.  Already a few lines > above this sp

[PATCH] Don't ICE in dwarf2out_switch_section with -g0 (PR debug/52027)

2012-01-30 Thread Jakub Jelinek
Hi! dwarf2out_switch_text_section is called even when -g0 or when not generating dwarf debug info, if we need to handle there unwinding stuff. But with -g0 e.g. line info tables aren't initialized. Already a few lines above this spot we guard it with cold_text_section != NULL, so this patch just