aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-10-08 22:49:07 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-10-08 22:49:07 +0000
commit23d80241774a8acf5158b648c49131d4713252e4 (patch)
treef3458e06c3b8fac7e70c7539e569ce845b6a8c35 /gcc/cgraphunit.c
parentde3101937e73a9a46d62aad616d969fc7da66070 (diff)
downloadgcc-23d80241774a8acf5158b648c49131d4713252e4.zip
gcc-23d80241774a8acf5158b648c49131d4713252e4.tar.gz
gcc-23d80241774a8acf5158b648c49131d4713252e4.tar.bz2
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
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 146855f..5176cd1 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)