bd52d17906
too large to list, but see: http://gcc.gnu.org/gcc-3.4/changes.html http://gcc.gnu.org/gcc-4.0/changes.html http://gcc.gnu.org/gcc-4.1/changes.html for the details.
21 lines
282 B
C
21 lines
282 B
C
/* PR 24931 */
|
|
/* { dg-do compile } */
|
|
/* { dg-options "-O -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;
|
|
}
|