diff options
author | Martin Jambor <mjambor@suse.cz> | 2016-01-11 11:03:44 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2016-01-11 11:03:44 +0100 |
commit | fa59e957b430b7fd33737f35b0b176d576bb9230 (patch) | |
tree | 6e64d0b411b97698062aca13117916fc84a4f256 | |
parent | d95167eef4d15a5099874990fcca5e5a19fb8b38 (diff) | |
download | gcc-fa59e957b430b7fd33737f35b0b176d576bb9230.zip gcc-fa59e957b430b7fd33737f35b0b176d576bb9230.tar.gz gcc-fa59e957b430b7fd33737f35b0b176d576bb9230.tar.bz2 |
[PR ipa/66616] Copy can_change_signature flag to artificial thunks
2016-01-11 Martin Jambor <mjambor@suse.cz>
PR ipa/66616
* cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
flag.
From-SVN: r232214
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cgraphclones.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0c3cec..d78db3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-01-11 Martin Jambor <mjambor@suse.cz> + + PR ipa/66616 + * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature + flag. + 2016-01-11 Tom de Vries <tom@codesourcery.com> PR tree-optimization/69109 diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 1044b3f..354655e 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -328,6 +328,7 @@ duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) new_thunk = cgraph_node::create (new_decl); set_new_clone_decl_and_node_flags (new_thunk); new_thunk->definition = true; + new_thunk->local.can_change_signature = node->local.can_change_signature; new_thunk->thunk = thunk->thunk; new_thunk->unique_name = in_lto_p; new_thunk->former_clone_of = thunk->decl; |