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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
torture
/
pr79731.c
blob
cde26554b15c6d8857fc361c468d620a94126888
1
/* { dg-do compile } */
2
/* { dg-additional-options "-Wno-psabi -w" } */
3
4
typedef
unsigned
V
__attribute__
((
vector_size
(
8
)));
5
V
6
foo
(
unsigned
x
,
V v
)
7
{
8
do
{
9
v
%=
x
;
10
x
=
1
;
11
}
while
(
v
[
1
]);
12
return
v
;
13
}
14
void
fn2
()
15
{
16
V x
=
foo
(
5
, (
V
) {
0
,
1
});
17
if
(
x
[
0
] ||
x
[
1
] ||
x
[
2
] ||
x
[
3
]);
18
}