Sign in
android
/
toolchain
/
gcc
/
3f73d6ef904
/
.
/
gcc-4.6
/
gcc
/
testsuite
/
gcc.dg
/
uninit-14-O0.c
blob: abde6ca86e6daa6066208a833c7b5c870541ae99 [
file
] [
log
] [
blame
]
/* PR 24931 */
/* { dg-do compile } */
/* { dg-options "-Wuninitialized" } */
struct
p
{
short
x
,
y
;
};
struct
s
{
int
i
;
struct
p p
;
};
struct
s f
()
{
struct
s s
;
s
.
p
=
(
struct
p
){};
s
.
i
=
(
s
.
p
.
x
||
s
.
p
.
y
);
return
s
;
}