From: ebotcazou Date: Mon, 8 Oct 2018 22:49:07 +0000 (+0000) Subject: * cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f67bef247dbf049795523b358c5c3a9860d9af6c;p=thirdparty%2Fgcc.git * cgraphunit.c (cgraph_node::expand_thunk): Do not force DECL_IGNORED_P on the thunk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264943 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 392728d48e5d..dc6ba9196440 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 146855fa8044..5176cd1f1ffa 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)