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
/
graphite
/
pr81945.c
blob
0dc6619512040494ba5171e80f55ca2f285e589a
1
/* PR tree-optimization/81945 */
2
/* { dg-do compile { target pthread } } */
3
/* { dg-options "-O3 -ftree-parallelize-loops=2 -floop-nest-optimize" } */
4
5
unsigned long int
v
;
6
7
void
8
foo
(
int
x
,
int
y
,
long int
*
a
)
9
{
10
do
11
{
12
int
**
b
;
13
14
while
(
y
!=
0
)
15
;
16
v
*=
2
;
17
**
b
= *
a
;
18
++
x
;
19
}
20
while
(
x
<
1
);
21
}