From: Eric Botcazou Date: Mon, 8 Oct 2018 22:49:07 +0000 (+0000) Subject: cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P on the thunk. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23d80241774a8acf5158b648c49131d4713252e4;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 392728d48e5..dc6ba919644 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -2018-09-28 Eric Botcazou +2018-10-08 Eric Botcazou + + * cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P + on the thunk. + +2018-10-08 Eric Botcazou PR tree-optimization/86659 * gimple-match.h (struct gimple_match_op): Add reverse field. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 146855fa804..5176cd1f1ff 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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)