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
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr49948.c
blob
8a26d8ede37ed15b534fb724bbe6d66c55faeab0
1
/* PR tree-optimization/49948 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target pthread } */
4
/* { dg-options "-O3 -ftree-parallelize-loops=2" } */
5
6
extern
int
a
, *
b
;
7
int
8
foo
(
void
)
9
{
10
int
c
,
d
=
8
, *
e
[
8
],
i
;
11
if
(
a
<=
7
)
12
{
13
for
(
i
=
0
;
i
<
8
; ++
i
)
14
e
[
i
] = &
c
;
15
while
(--
d
)
16
{
17
a
=
0
;
18
b
=
e
[
0
];
19
}
20
return
0
;
21
}
22
return
b
== &
d
;
23
}