]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR ipa/61393 ([trans-mem] O3 optimization level constant propagation problem)
authorMartin Jambor <mjambor@suse.cz>
Wed, 6 Aug 2014 13:59:18 +0000 (15:59 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 6 Aug 2014 13:59:18 +0000 (15:59 +0200)
2014-08-06  Martin Jambor  <mjambor@suse.cz>

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

From-SVN: r213666

gcc/ChangeLog
gcc/cgraphclones.c

index 3891aecd0de1844304c6a59ac6148e4fdd2b3b14..741f0ac75217c164d12f5a9e2e18438f15aa0823 100644 (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
index f097da8b22d847a0fb3ca95916de970b6877a7b0..c04b5c819fd4f8b31e3555f42654c2ebaa7d0179 100644 (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;