re PR ipa/61393 ([trans-mem] O3 optimization level constant propagation problem)

2014-08-06  Martin Jambor  <mjambor@suse.cz>

	PR ipa/61393
	* cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.

From-SVN: r213666
This commit is contained in:
Martin Jambor 2014-08-06 15:59:18 +02:00 committed by Martin Jambor
parent b12c44e901
commit 9d6171dce1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-08-06 Martin Jambor <mjambor@suse.cz>
PR ipa/61393
* cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
2014-08-06 Richard Biener <rguenther@suse.de>
PR lto/62034

View File

@ -423,6 +423,7 @@ cgraph_node::create_clone (tree decl, gcov_type gcov_count, int freq,
new_node->count = count;
new_node->frequency = frequency;
new_node->tp_first_run = tp_first_run;
new_node->tm_clone = tm_clone;
new_node->clone.tree_map = NULL;
new_node->clone.args_to_skip = args_to_skip;