re PR rtl-optimization/47918 (noreturn discovery broke non local gotos on m68k and i386)

PR rtl-optimization/47918

	* reload1.c (set_initial_label_offsets): Use initial offsets
	for labels on the nonlocal_goto_handler_labels chain.

From-SVN: r180611
This commit is contained in:
Julian Brown 2011-10-28 10:48:32 +00:00 committed by Julian Brown
parent e0f19b55ae
commit b27df4bbaf
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2011-10-28 Julian Brown <julian@codesourcery.com>
PR rtl-optimization/47918
* reload1.c (set_initial_label_offsets): Use initial offsets
for labels on the nonlocal_goto_handler_labels chain.
2011-10-28 Iain Sandoe <iains@gcc.gnu.org>
* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA):

View File

@ -3918,6 +3918,10 @@ set_initial_label_offsets (void)
if (XEXP (x, 0))
set_label_offsets (XEXP (x, 0), NULL_RTX, 1);
for (x = nonlocal_goto_handler_labels; x; x = XEXP (x, 1))
if (XEXP (x, 0))
set_label_offsets (XEXP (x, 0), NULL_RTX, 1);
for_each_eh_label (set_initial_eh_label_offset);
}