OSDN Git Service

* matrix-reorg.c (matrix_reorg): Rebuild edges.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 May 2010 08:27:29 +0000 (08:27 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 May 2010 08:27:29 +0000 (08:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159263 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/matrix-reorg.c

index 1fd3e79..5180463 100644 (file)
@@ -1,5 +1,9 @@
 2010-05-11  Jan Hubicka  <jh@suse.cz>
 
+       * matrix-reorg.c (matrix_reorg): Rebuild edges.
+
+2010-05-11  Jan Hubicka  <jh@suse.cz>
+
        * lto-streamer.c (lto_streamer_cache_add_to_node_array,
        lto_streamer_cache_delete): Put nodes into heap.
        * lto-streamer.h (struct lto_streamer_cache_d): Nodes vector is in
index 90e21e5..c4579ed 100644 (file)
@@ -2380,6 +2380,7 @@ matrix_reorg (void)
        gimple_register_cfg_hooks ();
        record_all_accesses_in_func ();
        htab_traverse (matrices_to_reorg, transform_access_sites, NULL);
+        cgraph_rebuild_references ();
        free_dominance_info (CDI_DOMINATORS);
        free_dominance_info (CDI_POST_DOMINATORS);
        pop_cfun ();