cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P on the thunk.

* cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P
	on the thunk.

From-SVN: r264943
This commit is contained in:
Eric Botcazou 2018-10-08 22:49:07 +00:00 committed by Eric Botcazou
parent de3101937e
commit 23d8024177
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,9 @@
2018-09-28 Eric Botcazou <ebotcazou@adacore.com>
2018-10-08 Eric Botcazou <ebotcazou@adacore.com>
* cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P
on the thunk.
2018-10-08 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/86659
* gimple-match.h (struct gimple_match_op): Add reverse field.

View File

@ -1870,7 +1870,6 @@ cgraph_node::expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)
resolve_unique_section (thunk_fndecl, 0,
flag_function_sections);
DECL_IGNORED_P (thunk_fndecl) = 1;
bitmap_obstack_initialize (NULL);
if (thunk.virtual_offset_p)