summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-31 19:46:43 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-31 19:46:43 +0000
commit61025ec0db46495b46c898f65d33713364b146ae (patch)
tree1ad67e950a74a6bc950bbf5f91748e6acbf640b9 /gcc/cfg.c
parent06e4a26520d5141cc7edea18cdbf6a6e28fc5d2a (diff)
downloadgcc-61025ec0db46495b46c898f65d33713364b146ae.tar.gz
PR tree-optimization/52558
* cfg.c (alloc_aux_for_edge): Fix comment. (alloc_aux_for_edge): Remove static. * basic-block.h (alloc_aux_for_edge): Protoize. * tree-ssa-loop-im.c (execute_sm_if_changed): New. (execute_sm_if_changed_flag): New. (execute_sm_if_changed_flag_set): New. (execute_sm): Do not generate data races unless requested. (tree_ssa_lim_initialize): Call alloc_aux_for_edges. (tree_ssa_lim_finalize): Call free_aux_for_edges. * gimple.h (block_in_transaction): New. (gimple_in_transaction): Use block_in_transaction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188081 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index ba85b169059..6342c13e152 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -814,10 +814,10 @@ free_aux_for_blocks (void)
clear_aux_for_blocks ();
}
-/* Allocate a memory edge of SIZE as BB->aux. The obstack must
+/* Allocate a memory edge of SIZE as E->aux. The obstack must
be first initialized by alloc_aux_for_edges. */
-static void
+void
alloc_aux_for_edge (edge e, int size)
{
/* Verify that aux field is clear. */