repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vector30.C
blob
68326e3db5b8ec476afde4ff716cfc27345cada7
1
// PR c++/70430
2
// { dg-do run }
3
extern "C" void abort (void);
4
typedef int v4si __attribute__ ((vector_size (16)));
5
int main()
6
{
7
v4si b = {1,0,-1,2}, c;
8
c = b && 1;
9
if (c[0] != -1 || c[1] != 0 || c[2] != -1 || c[3] != -1)
10
abort ();
11
c = b && 0;
12
if (c[0] != 0 || c[1] != 0 || c[2] != 0 || c[3] != 0)
13
abort ();
14
return 0;
15
}