re PR tree-optimization/36792 (Revision 137631 causes many failures)
2008-12-10 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/36792 * tree-ssa-pre.c (compute_avail): Don't insert defs into maximal set. From-SVN: r142659
This commit is contained in:
parent
db89a3be51
commit
615cb001bb
4 changed files with 15 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-12-10 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
PR tree-optimization/36792
|
||||
* tree-ssa-pre.c (compute_avail): Don't insert defs into maximal
|
||||
set.
|
||||
|
||||
2008-12-10 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR target/37033
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2008-12-10 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
PR tree-optimization/36792
|
||||
* gcc.dg/tree-ssa/ssa-fre-10.c: Update expected results.
|
||||
|
||||
2008-12-10 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR middle-end/38271
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
union loc { unsigned reg; signed offset; };
|
||||
void __frame_state_for (volatile char *state_in, int x)
|
||||
{
|
||||
/* We should move all the loads out of this loop. Right now, we only
|
||||
move one. It takes two insertions because we insert a cast. */
|
||||
union loc fs;
|
||||
int reg;
|
||||
for (;;) {
|
||||
|
@ -16,5 +18,5 @@ void __frame_state_for (volatile char *state_in, int x)
|
|||
}
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "Insertions:" "pre" } } */
|
||||
/* { dg-final { scan-tree-dump "Insertions: 2" "pre" } } */
|
||||
/* { dg-final { cleanup-tree-dump "pre" } } */
|
||||
|
|
|
@ -3644,10 +3644,7 @@ compute_avail (void)
|
|||
|
||||
add_to_value (get_expr_value_id (e), e);
|
||||
if (!in_fre)
|
||||
{
|
||||
bitmap_insert_into_set (TMP_GEN (block), e);
|
||||
bitmap_value_insert_into_set (maximal_set, e);
|
||||
}
|
||||
bitmap_insert_into_set (TMP_GEN (block), e);
|
||||
bitmap_value_insert_into_set (AVAIL_OUT (block), e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue