repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-pr19430-2.c
blob
361a6a0bbdab5878d7c641374894947587a1738a
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