re PR tree-optimization/33649 (cc1 segfaults when multiple tree opts disabled)
PR 33649 * tree-ssa-pre.c (compute_antic): Correct loop bounds. From-SVN: r143014
This commit is contained in:
parent
0cf0d02be5
commit
0b355794dc
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-02 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR 33649
|
||||
* tree-ssa-pre.c (compute_antic): Correct loop bounds.
|
||||
|
||||
2009-01-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/38690
|
||||
|
|
|
@ -2394,7 +2394,7 @@ compute_antic (void)
|
|||
fprintf (dump_file, "Starting iteration %d\n", num_iterations);
|
||||
num_iterations++;
|
||||
changed = false;
|
||||
for (i = 0; i < last_basic_block - NUM_FIXED_BLOCKS; i++)
|
||||
for (i = 0; i < n_basic_blocks - NUM_FIXED_BLOCKS; i++)
|
||||
{
|
||||
if (TEST_BIT (changed_blocks, postorder[i]))
|
||||
{
|
||||
|
@ -2425,7 +2425,7 @@ compute_antic (void)
|
|||
fprintf (dump_file, "Starting iteration %d\n", num_iterations);
|
||||
num_iterations++;
|
||||
changed = false;
|
||||
for (i = 0; i < last_basic_block - NUM_FIXED_BLOCKS; i++)
|
||||
for (i = 0; i < n_basic_blocks - NUM_FIXED_BLOCKS; i++)
|
||||
{
|
||||
if (TEST_BIT (changed_blocks, postorder[i]))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue