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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr78542.c
blob
bae42b653337de77aac6df4f5d1801b0ad2bae7b
1
/* { dg-do run } */
2
/* { dg-additional-options "-w -Wno-psabi" } */
3
4
typedef
unsigned
V
__attribute__
((
vector_size
(
16
)));
5
6
V
7
foo
(
unsigned
x
,
V v
)
8
{
9
do
{
10
v
%=
x
;
11
x
=
1
;
12
}
while
(
v
[
1
]);
13
return
v
;
14
}
15
16
int
17
main
()
18
{
19
V x
=
foo
(
5
, (
V
) {
0
,
1
});
20
if
(
x
[
0
] ||
x
[
1
] ||
x
[
2
] ||
x
[
3
])
21
__builtin_abort
();
22
return
0
;
23
}