diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-27 16:32:18 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-27 16:32:18 +0000 |
commit | 9d099e65af650af4352e3b97555ca5b60a7574f3 (patch) | |
tree | 31ac83b8f6ace5c62c2209f8ce45fdbc5bef4598 /gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c | |
parent | ed29c566a071c8f5648e15f3d9c71f07b7746383 (diff) | |
download | gcc-9d099e65af650af4352e3b97555ca5b60a7574f3.tar.gz |
2005-04-27 Paolo Bonzini <bonzini@gnu.org>
* 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
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/gen-vect-25.c | 6 |
1 files changed, 5 insertions, 1 deletions
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" } } */ |