gen-vect-25.c: Make more portable.

2005-04-27  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.dg/tree-ssa/gen-vect-25.c: Make more portable.

From-SVN: r98851
This commit is contained in:
Paolo Bonzini 2005-04-27 16:32:18 +00:00 committed by Paolo Bonzini
parent e6d29d157f
commit d42a92c84b
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-04-27 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/tree-ssa/gen-vect-25.c: Make more portable.
2005-04-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/21177

View File

@ -11,7 +11,7 @@ typedef short half_word;
typedef int half_word;
#endif
int main (int n, int *p)
int main_1 (int n, int *p)
{
int i;
half_word ib[N];
@ -46,6 +46,10 @@ int main (int n, int *p)
return 0;
}
int main (int n)
{
main_1 (n + 2, &n);
}
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */