------- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-03 16:38 ------- Still warns for
truct xxx { short a; short b; void *c; }; void bar(struct xxx); void foo(struct xxx *p, int i) { struct xxx s0 = *p; struct xxx s = s0; if (s.a) i++; bar(s); } at -O -m32 -Wuninitialized. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38271