tree-sra.c: Rewrite from scratch.

* tree-sra.c: Rewrite from scratch.  Handle nested aggregates.
        * gcc.dg/tree-ssa/20040430-1.c: Expect zero if's.

From-SVN: r83858
This commit is contained in:
Richard Henderson 2004-06-29 09:25:28 -07:00 committed by Richard Henderson
parent ba60e4754a
commit 97e73bd250
4 changed files with 1747 additions and 980 deletions

View File

@ -1,3 +1,7 @@
2004-06-29 Richard Henderson <rth@redhat.com>
* tree-sra.c: Rewrite from scratch. Handle nested aggregates.
2004-06-29 Nathan Sidwell <nathan@codesourcery.com>
* vec.h (VEC_T_safe_push, VEC_T_safe_insert): Tweak for when

View File

@ -1,3 +1,7 @@
2004-06-29 Richard Henderson <rth@redhat.com>
* gcc.dg/tree-ssa/20040430-1.c: Expect zero if's.
2004-06-29 Paul Brook <paul@codesourcery.com>
* g++.old-deja/g++.abi/arraynew.C: Handle ARM EABI cookies.

View File

@ -1,7 +1,7 @@
/* PR middle-end/14470. Similar to
gcc.c-torture/execute/20040313-1.c, but with a compile time test to
make sure the second if() is removed. We should actually get rid
of the first if() too, but we're not that smart yet. */
make sure the second if() is removed. */
/* Update: We now remove both ifs. Whee. */
/* { dg-do run } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
@ -22,4 +22,4 @@ int main()
return 0;
}
/* { dg-final { scan-tree-dump-times "if " 1 "optimized"} } */
/* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */

File diff suppressed because it is too large Load Diff