OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-pr19430-2.c
1
/* { dg-do compile } */
2
/* { dg-options "-O -Wuninitialized" } */
3
4
int *p, *q;
5
6
int foo (int b)
7
{
8
int i, j = 0;
9
int *x;
10
p = &i;
11
q = &j;
12
if (b)
13
x = p;
14
else
15
x = q;
16
return *x;
17
}
18