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
/
vect
/
pr114471.c
blob
218c953e45e769e4af88462446f25808109894b4
1
/* { dg-do compile } */
2
3
float
f1
,
f0
,
fa
[
2
];
4
short
sa
[
2
];
5
void
quantize
(
short
s0
)
6
{
7
_Bool ta
[
2
] = {(
fa
[
0
] <
0
), (
fa
[
1
] <
0
)};
8
_Bool t
= ((
s0
>
0
) &
ta
[
0
]);
9
short
x1
=
s0
+
t
;
10
_Bool t1
= ((
x1
>
0
) &
ta
[
1
]);
11
sa
[
0
] =
x1
;
12
sa
[
1
] =
s0
+
t1
;
13
}