From 9d099e65af650af4352e3b97555ca5b60a7574f3 Mon Sep 17 00:00:00 2001 From: bonzini Date: Wed, 27 Apr 2005 16:32:18 +0000 Subject: 2005-04-27 Paolo Bonzini * gcc.dg/tree-ssa/gen-vect-25.c: Make more portable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98851 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/testsuite/gcc.dg') diff --git a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c index 1e0c2c11cf8..5cfec85144a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c @@ -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" } } */ -- cgit v1.2.1