Commit fa59e957 by Martin Jambor Committed by Martin Jambor

[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
parent d95167ee
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> 2016-01-11 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/69109 PR tree-optimization/69109
......
...@@ -328,6 +328,7 @@ duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) ...@@ -328,6 +328,7 @@ duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node)
new_thunk = cgraph_node::create (new_decl); new_thunk = cgraph_node::create (new_decl);
set_new_clone_decl_and_node_flags (new_thunk); set_new_clone_decl_and_node_flags (new_thunk);
new_thunk->definition = true; new_thunk->definition = true;
new_thunk->local.can_change_signature = node->local.can_change_signature;
new_thunk->thunk = thunk->thunk; new_thunk->thunk = thunk->thunk;
new_thunk->unique_name = in_lto_p; new_thunk->unique_name = in_lto_p;
new_thunk->former_clone_of = thunk->decl; new_thunk->former_clone_of = thunk->decl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment