[Bug tree-optimization/48973] [4.3/4.4/4.5/4.6/4.7 Regression] Inliner bug with one-bit (1-bit) bitfield
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 12 08:49:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48973
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-12 07:36:07 UTC ---
And even more reduced:
extern void abort (void);
struct S { int f : 1; } s;
int v = -1;
int
main ()
{
s.f = (v & 1) > 0;
if ((unsigned int) s.f != -1U)
abort ();
return 0;
}
More information about the Gcc-bugs
mailing list