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
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
vector-4.c
blob
cc4d5041f63620a3c655d385a2abbc7d1a0d27dc
1
/* { dg-do compile } */
2
/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! lp64 } } } } */
3
#define vector __attribute__((vector_size(4*sizeof(int)) ))
4
5
vector
int
a
,
b
,
c
;
6
7
8
/* Test that remainder works for vectors. */
9
void
f
(
void
)
10
{
11
a
=
b
%
c
;
12
}