[Bug c/18282] PR c/17384 patch causes regression from 3.4.2

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 5 04:07:00 GMT 2004


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-05 04:07 -------
I'm not going to hold up 3.4.3 for this issue.

Richard's change makes this an error, so it's at most a rejects-valid. There's
also a good workaround: declare the enum __attribute__((packed)).  That's
probably a better choice anyhow.  I'll let you and Richard sort out what the
right semantics ought to be.  (FWIW, I think my sentiment is that this ought to
be like structures: you don't get to pick the mode, but you can say "packed" if
you want.)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18282



More information about the Gcc-bugs mailing list