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
arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
20030820-2.c
blob
e857a0d6b0944d494dfcfbcc7025d9d919d76e40
1
/* { dg-do compile } */
2
/* { dg-options "-O1" } */
3
4
/* A test for variables getting out of their scope in copy propagation. */
5
6
void
bla
(
int
);
7
int
bar
(
void
);
8
9
void
foo
(
void
)
10
{
11
int
k
;
12
13
goto
forward
;
14
back
:
15
bla
(
k
);
16
return
;
17
18
forward
:
19
{
20
int
i
=
bar
();
21
22
k
=
i
;
23
24
goto
back
;
25
}
26
}
27