re PR tree-optimization/26359 (Over optimization of loop when using -ftree-vectorize)
PR tree-optimization/26359 * tree-ssa-alias.c (new_type_alias): Set fields for new tag. From-SVN: r111451
This commit is contained in:
parent
2cd9a06ba8
commit
afa38a953b
@ -1,3 +1,8 @@
|
||||
2006-02-26 Dorit Nuzman <dorit@il.ibm.com>
|
||||
|
||||
PR tree-optimization/26359
|
||||
* tree-ssa-alias.c (new_type_alias): Set fields for new tag.
|
||||
|
||||
2006-02-25 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* simplify-rtx.c (simplify_relational_operation_1): Simplify
|
||||
|
@ -1,3 +1,10 @@
|
||||
2006-02-26 Dorit Nuzman <dorit@il.ibm.com>
|
||||
|
||||
PR tree-optimizations/26359
|
||||
* gcc.dg/vect/vect.exp: Compile tests prefixed with "dump-tree-dceloop"
|
||||
with -fdump-tree-dceloop-details.
|
||||
* gcc.dg/vect/dump-tree-dceloop-pr26359.c: New test.
|
||||
|
||||
2006-02-25 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR middle-end/23673
|
||||
|
16
gcc/testsuite/gcc.dg/vect/dump-tree-dceloop-pr26359.c
Normal file
16
gcc/testsuite/gcc.dg/vect/dump-tree-dceloop-pr26359.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
|
||||
int a[256], b[256], c[256];
|
||||
|
||||
foo () {
|
||||
int i;
|
||||
|
||||
for (i=0; i<256; i++){
|
||||
a[i] = b[i] + c[i];
|
||||
}
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "Deleting : vect_" 0 "dceloop" } } */
|
||||
/* { dg-final { cleanup-tree-dump "dceloop" } } */
|
||||
/* { dg-final { cleanup-tree-dump "vect" } } */
|
@ -108,6 +108,12 @@ lappend DEFAULT_VECTCFLAGS "-ftrapv"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/trapv-vect*.\[cS\]]] \
|
||||
"" $DEFAULT_VECTCFLAGS
|
||||
|
||||
# -fdump-tree-dceloop-details tests
|
||||
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
|
||||
lappend DEFAULT_VECTCFLAGS "-fdump-tree-dceloop-details"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/dump-tree-dceloop-*.\[cS\]]] \
|
||||
"" $DEFAULT_VECTCFLAGS
|
||||
|
||||
# With -Os
|
||||
lappend DEFAULT_VECTCFLAGS "-Os"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/Os-vect-*.\[cS\]]] \
|
||||
|
@ -2712,6 +2712,9 @@ new_type_alias (tree ptr, tree var)
|
||||
add_may_alias (tag, al);
|
||||
}
|
||||
}
|
||||
|
||||
TREE_READONLY (tag) = TREE_READONLY (var);
|
||||
MTAG_GLOBAL (tag) = is_global_var (var);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user