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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
autopar
/
pr46885.c
blob
9560c92bfd4012a40acbd26accef29869793e49b
1
/* PR debug/46885 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -ftree-parallelize-loops=4 -fcompare-debug -fno-tree-dominator-opts -funswitch-loops" } */
4
5
static
inline
void
6
bar
(
int
i
)
7
{
8
(
void
)
i
;
9
}
10
11
int
12
foo
(
int
*
begin
,
int
*
end
)
13
{
14
int
s
=
0
;
15
int
*
i
;
16
for
(
i
=
begin
;
i
!=
end
; ++
i
)
17
{
18
bar
(
0
);
19
if
(
begin
)
20
return
s
;
21
}
22
return
0
;
23
}