------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-01-19
02:11 -------
G++ 4.0 is correct. This declaration gives only a signed 9-bit type,
independent of the ABI. Since +128 is not representable in 9 signed bits, it
wraps to -128. The same issue explains the other tests.
AFAICT, G++ 4.0 is following the ABI. The bump of the default ABI version (to
2) is the cause because we fixed this for version 2 of the ABI. The same goes
for the empty class change.
Therefore, I'm marking this as INVALID.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19448