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
/
pr87962.c
blob
6a551d3d5c8d922675f5a1cb999c2bd9350e2936
1
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
/* { dg-additional-options "-march=bdver2" { target { x86_64-*-* i?86-*-* } } } */
4
5
int
a
,
b
;
6
7
int
c
()
8
{
9
long
d
,
e
;
10
while
(
a
) {
11
a
++;
12
b
=
0
;
13
for
(;
b
++ -
2
;
d
=
d
>>
1
)
14
e
+=
d
;
15
}
16
return
e
;
17
}