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
PR c/64856
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr48770.c
blob
446389d491406250c5a8b201db95c417b894590a
1
/* { dg-do run } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-options "-O -fprofile-arcs -fPIC -fno-dce -fno-forward-propagate" } */
4
5
int
test_goto2
(
int
f
)
6
{
7
int
i
;
8
for
(
i
=
0
; ({
_Bool a
=
i
<
10
;
a
;});
i
++)
9
{
10
if
(
i
==
f
)
11
goto
lab2
;
12
}
13
return
4
;
14
lab2
:
15
return
8
;
16
}
17
18
int
main
()
19
{
20
test_goto2
(
30
);
21
return
0
;
22
}
23
24
/* { dg-final { cleanup-coverage-files } } */