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
* gcc.target/powerpc/405-dlmzb-strlen-1.c: Skip on AIX.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr48768.c
blob
0ab22ee3a6d1fda4e1c1277c75dde16534a969b5
1
/* PR debug/48768 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
5
6
int
a
,
b
;
7
8
int
9
bar
(
void
)
10
{
11
int
i
,
j
=
1
;
12
for
(
i
=
0
;
i
!=
10
;
i
++)
13
{
14
lab
:
15
if
(
i
)
16
{
17
int
*
k
= &
j
;
18
}
19
else if
(
j
)
20
goto
lab
;
21
}
22
return
1
;
23
}
24
25
inline
int
26
foo
(
int
x
)
27
{
28
unsigned int
c
=
x
;
29
int
d
=
x
;
30
if
(
bar
())
31
for
(;
c
;
c
++)
32
while
(
x
>=
0
)
33
if
(
foo
(
d
) >=
0
)
34
{
35
d
=
bar
();
36
a
=
b
?
b
:
1
;
37
}
38
return
0
;
39
}