re PR tree-optimization/15791 (fold misses that two ADDR_EXPR of an arrary obvious not equal)
2005-01-29 Richard Guenther <richard.guenther@uni-tuebingen.de> PR tree-optimization/15791 * fold-const.c (extract_array_ref): New function. (fold): Fold comparisons between &a[i] and &a[j] or semantically equivalent trees. * gcc.dg/tree-ssa/pr15791-1.c: New testcase. * gcc.dg/tree-ssa/pr15791-2.c: Likewise. * gcc.dg/tree-ssa/pr15791-3.c: Likewise. * gcc.dg/tree-ssa/pr15791-4.c: Likewise. * gcc.dg/tree-ssa/pr15791-5.c: Likewise. * g++.dg/tree-ssa/pr15791-1.C: Likewise. * g++.dg/tree-ssa/pr15791-2.C: Likewise. * g++.dg/tree-ssa/pr15791-3.C: Likewise. * g++.dg/tree-ssa/pr15791-4.C: Likewise. * g++.dg/tree-ssa/pr15791-5.C: Likewise. From-SVN: r94414
Showing
gcc/testsuite/g++.dg/tree-ssa/pr15791-1.C
0 → 100644
gcc/testsuite/g++.dg/tree-ssa/pr15791-2.C
0 → 100644
gcc/testsuite/g++.dg/tree-ssa/pr15791-3.C
0 → 100644
gcc/testsuite/g++.dg/tree-ssa/pr15791-4.C
0 → 100644
gcc/testsuite/g++.dg/tree-ssa/pr15791-5.C
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/pr15791-1.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/pr15791-2.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/pr15791-3.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/pr15791-4.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/pr15791-5.c
0 → 100644
Please
register
or
sign in
to comment