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
/
bb-slp-pr98685.c
blob
b213335da787fd7e3a14ff2d66f7cd46cff77944
1
/* { dg-do compile } */
2
/* { dg-additional-options "-O3" } */
3
4
char
onelock_lock
[
16
];
5
void
write
(
void
);
6
7
void
lockit
(
int
count
) {
8
for
(;
count
;) {
9
int
pid
,
i
;
10
char
*
p
;
11
for
(
i
=
0
,
p
= (
char
*)&
pid
;
i
<
sizeof
0
;
i
++)
12
onelock_lock
[
i
] = *
p
++;
13
write
();
14
}
15
}