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
/
pr51301.c
blob
b060c8eb629abd17bb65ce27e2717fe4efe5fe2f
1
/* { dg-do compile } */
2
3
typedef
signed char int8_t
;
4
typedef
signed long long int64_t
;
5
int64_t
6
f0a
(
int8_t
*
__restrict__ arg1
)
7
{
8
int
idx
;
9
int64_t
result
=
0
;
10
for
(
idx
=
0
;
idx
<
416
;
idx
+=
1
)
11
result
+=
arg1
[
idx
] << (
arg1
[
idx
] ==
arg1
[
idx
]);
12
return
result
;
13
}
14