> > Andrew Pinski <[EMAIL PROTECTED]> writes: > > > Well this warning just found a bug in GCC's code where we had an enum and > > that enum was stored in a bitfield but the bitfield did not span the > > whole enum so we get this warning. > > Couldn't this be detected when the enum is stored in the bitfield? > > > See PR 25886. > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25886 doesn't seem to be > related to this.
You are wrong, this is the bug which I filed to show that this warning dected the bug. I forgot to say what the warning was but it was comparision always false due to range of the type. -- Pinski