------- Comment #7 from rguenth at gcc dot gnu dot org 2005-11-21 14:35 ------- More reduced/simplified:
void abort(void); struct S2495 { int a; struct{ int d; int e:31; } c; }; struct S2495 x; void foo(struct S2495 a) __attribute__((noinline)); void foo(struct S2495 a) { if (a.c.e != x.c.e) abort(); } int main() { x.c.e = 32766; foo(x); return 0; } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-11-21 14:35:35 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24969