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
/
pr115406.c
blob
800ef2f8317e50aaae5bfcb3903f1487f6b5f1ac
1
// { dg-do run }
2
// { dg-additional-options "-mavx512f" { target avx512f_runtime } }
3
4
typedef
__attribute__
((
__vector_size__
(
1
)))
signed char
V
;
5
6
signed char
7
foo
(
V v
)
8
{
9
return
((
V
)
v
==
v
)[
0
];
10
}
11
12
int
13
main
()
14
{
15
signed char
x
=
foo
((
V
) { });
16
if
(
x
!= -
1
)
17
__builtin_abort
();
18
}