[Bug middle-end/38271] [4.4 Regression] Spurious / missing "... used uninitialized in this function" warning
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 3 16:40:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list