aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/cgraphunit.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 392728d..dc6ba91 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
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)