re PR bootstrap/63573 (libgo: ICE building libgo on powerpc-linux-gnu)

Fix for PR bootstrap/63573.

	PR bootstrap/63573
	* tree-inline.c (remap_gimple_stmt): Handle gimple_call_from_thunk_p
	predicate.

From-SVN: r218861
This commit is contained in:
Jan Hubicka 2014-12-18 13:06:34 +01:00 committed by Martin Liska
parent 544dafa696
commit 2ddeb89bf5
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-12-18 Jan Hubicka <hubicka@ucw.cz>
PR bootstrap/63573
* tree-inline.c (remap_gimple_stmt): Handle gimple_call_from_thunk_p
predicate.
2014-12-18 Martin Liska <mliska@suse.cz>
PR ipa/64146

View File

@ -1617,8 +1617,12 @@ remap_gimple_stmt (gimple stmt, copy_body_data *id)
/* Clear flags that need revisiting. */
if (gcall *call_stmt = dyn_cast <gcall *> (copy))
if (gimple_call_tail_p (call_stmt))
gimple_call_set_tail (call_stmt, false);
{
if (gimple_call_tail_p (call_stmt))
gimple_call_set_tail (call_stmt, false);
if (gimple_call_from_thunk_p (call_stmt))
gimple_call_set_from_thunk (call_stmt, false);
}
/* Remap the region numbers for __builtin_eh_{pointer,filter},
RESX and EH_DISPATCH. */