]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR lto/57289 (ICE during 454.calculix compilation with -O3 -flto)
authorMartin Jambor <mjambor@suse.cz>
Tue, 21 May 2013 13:49:30 +0000 (15:49 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 21 May 2013 13:49:30 +0000 (15:49 +0200)
2013-05-21  Martin Jambor  <mjambor@suse.cz>

PR lto/57289
* ipa-prop.c (ipa_read_node_info): Process param_used and
controlled_uses in the same order as when writing.

From-SVN: r199145

gcc/ChangeLog
gcc/ipa-prop.c

index 6542269805d4276fe0951a3b253b2af463982bff..ffd389e94797af82969dab03cddc753eea9005e3 100644 (file)
@@ -1,3 +1,9 @@
+2013-05-21  Martin Jambor  <mjambor@suse.cz>
+
+       PR lto/57289
+       * ipa-prop.c (ipa_read_node_info): Process param_used and
+       controlled_uses in the same order as when writing.
+
 2013-05-21  Magnus Granberg  <baldrick@free.fr>
 
        PR plugins/56754
index abf21c98215ab9e64117d74a8d5e24d1cd07c233..ae2a823a4e51693f96c6a8c9d5875640c37102df 100644 (file)
@@ -3848,10 +3848,10 @@ ipa_read_node_info (struct lto_input_block *ib, struct cgraph_node *node,
   if (ipa_get_param_count (info) != 0)
     info->uses_analysis_done = true;
   info->node_enqueued = false;
-  for (k = 0; k < ipa_get_param_count (info); k++)
-    ipa_set_controlled_uses (info, k, streamer_read_hwi (ib));
   for (k = 0; k < ipa_get_param_count (info); k++)
     ipa_set_param_used (info, k, bp_unpack_value (&bp, 1));
+  for (k = 0; k < ipa_get_param_count (info); k++)
+    ipa_set_controlled_uses (info, k, streamer_read_hwi (ib));
   for (e = node->callees; e; e = e->next_callee)
     {
       struct ipa_edge_args *args = IPA_EDGE_REF (e);