]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ipa-ref.c (ipa_clear_stmts_in_references): Clear lto_stmt_uid, too.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Aug 2013 23:07:52 +0000 (23:07 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Aug 2013 23:07:52 +0000 (23:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201640 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-ref.c

index 83b73b72c25040c5e6d63462e1606e13e52c0620..3acc890ba0c1bbaf1b6a838c019340ae22290ce5 100644 (file)
@@ -1,3 +1,7 @@
+2013-08-09  Jan Hubicka  <jh@suse.cz>
+
+        * ipa-ref.c (ipa_clear_stmts_in_references): Clear lto_stmt_uid, too.
+
 2013-08-09  Jan Hubicka  <jh@suse.cz>
 
        * cgraph.c (cgraph_resolve_speculation): Cut frequency to
index 9f45c8eb866f35cca2e7aea12dc5812f312a9322..a7c3b40b0cfa0e791b52fd8ca6407a7493fc8c7b 100644 (file)
@@ -311,5 +311,8 @@ ipa_clear_stmts_in_references (symtab_node referring_node)
 
   for (i = 0; ipa_ref_list_reference_iterate (&referring_node->symbol.ref_list, i, r); i++)
     if (!r->speculative)
-      r->stmt = NULL;
+      {
+       r->stmt = NULL;
+       r->lto_stmt_uid = 0;
+      }
 }