Commit d42a92c8 by Paolo Bonzini Committed by Paolo Bonzini

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
parent e6d29d15
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
......
......@@ -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" } } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment