repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
uninit-14.c
blob
41b4f622ae5414104a87034a8258530d4e3c9831
1
/* PR 24931 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -Wuninitialized" } */
4
5
struct
p
{
6
short
x
,
y
;
7
};
8
9
struct
s
{
10
int
i
;
11
struct
p p
;
12
};
13
14
struct
s
f
()
15
{
16
struct
s s
;
17
s
.
p
= (
struct
p
){};
18
s
.
i
= (
s
.
p
.
x
||
s
.
p
.
y
);
19
return
s
;
20
}