diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-05-31 19:46:43 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2012-05-31 19:46:43 +0000 |
commit | 039496da00fe37d2cc92600039e6877ea132a50b (patch) | |
tree | 1ad67e950a74a6bc950bbf5f91748e6acbf640b9 /gcc/basic-block.h | |
parent | 19af62dbf23ba8ad8ca2b317d0886e38545af4e6 (diff) | |
download | gcc-039496da00fe37d2cc92600039e6877ea132a50b.zip gcc-039496da00fe37d2cc92600039e6877ea132a50b.tar.gz gcc-039496da00fe37d2cc92600039e6877ea132a50b.tar.bz2 |
re PR tree-optimization/52558 (write introduction incorrect wrt the C++11 memory model)
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.
From-SVN: r188081
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 3aa3a78..418914a 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -802,6 +802,7 @@ extern basic_block alloc_block (void); extern void alloc_aux_for_blocks (int); extern void clear_aux_for_blocks (void); extern void free_aux_for_blocks (void); +extern void alloc_aux_for_edge (edge, int); extern void alloc_aux_for_edges (int); extern void clear_aux_for_edges (void); extern void free_aux_for_edges (void); |