Commit 46786569 by Aldy Hernandez Committed by Aldy Hernandez

re PR middle-end/52463 (libitm.c/memcpy-1.c FAILs)

        PR middle-end/52463
        * trans-mem.c (tm_region_init): Use last_basic_block.

From-SVN: r184949
parent b7313c30
2012-03-05 Aldy Hernandez <aldyh@redhat.com>
PR middle-end/52463
* trans-mem.c (tm_region_init): Use last_basic_block.
2012-03-05 Richard Henderson <rth@redhat.com> 2012-03-05 Richard Henderson <rth@redhat.com>
PR target/52481 PR target/52481
......
...@@ -1868,7 +1868,7 @@ tm_region_init (struct tm_region *region) ...@@ -1868,7 +1868,7 @@ tm_region_init (struct tm_region *region)
using bb->aux. */ using bb->aux. */
region_worklist = region_worklist =
(struct tm_region **) xcalloc (sizeof (struct tm_region *), (struct tm_region **) xcalloc (sizeof (struct tm_region *),
n_basic_blocks + NUM_FIXED_BLOCKS + 2); last_basic_block + NUM_FIXED_BLOCKS);
VEC_safe_push (basic_block, heap, queue, bb); VEC_safe_push (basic_block, heap, queue, bb);
region_worklist[bb->index] = region; region_worklist[bb->index] = region;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment