underlying type for enums

Richard Henderson rth@redhat.com
Tue Dec 2 10:19:00 GMT 2003


On Tue, Dec 02, 2003 at 09:21:03AM +0000, Joseph S. Myers wrote:
> AFAICT compatible enumerators must be the exactly same type, not just have 
> the same values; there's no indication that compatibility (with the same 
> integer type) is transitive here; PR 6024.

Indeed, I would say that the PR is valid because 6.2.7/1 specifies
that the declaration tags must match if present.  But failing that
it mentions same names and values.

None of which really changes the fact of the Altivec usage...


r~



More information about the Gcc mailing list