Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-additional-options "-O3" } */ | |
3 /* { dg-require-effective-target vect_unpack } */ | |
4 | |
5 void foo(unsigned *p1, unsigned short *p2) | |
6 { | |
7 int n; | |
8 for (n = 0; n < 320; n++) | |
9 p1[n] = p2[n * 2]; | |
10 } | |
11 | |
12 /* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" } } */ |