projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr48768.c
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
}