diff options
author | dorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-19 08:46:45 +0000 |
---|---|---|
committer | dorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-19 08:46:45 +0000 |
commit | 435c10320330151f08321bbbc821a4084cfb7c72 (patch) | |
tree | 5db2d0b024834594c5a831e83a077e055f02ce2d /gcc/testsuite/gcc.dg/vect/pr30795.c | |
parent | ec72623f7c8d0a87c87160c3c07e0f607c589b1c (diff) | |
download | gcc-435c10320330151f08321bbbc821a4084cfb7c72.tar.gz |
PR tree-optimization/30975
* tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy): Remove
wrong assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/pr30795.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/pr30795.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/pr30795.c b/gcc/testsuite/gcc.dg/vect/pr30795.c new file mode 100644 index 00000000000..53dc9fa51f3 --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/pr30795.c @@ -0,0 +1,19 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target vect_int } */ + +char bigDone[260]; +int runningOrder[260]; + +int +main() +{ + int i; + for (i = 0; i <= 255; i++) { + bigDone [i] = ((char)0); + runningOrder[i] = i; + } + return 0; +} + +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ +/* { dg-final { cleanup-tree-dump "vect" } } */ |