Re: Size of enum‏

Andrew Pinski pinskia@gmail.com
Mon Feb 6 23:22:00 GMT 2012


2012/2/6 Alexandre Almeida <meta.lx@hotmail.com>:
>
> Okay, I am sorry for not knowing that there is an option to make enum types as short as possible. Anyway, I think it should be a default option. Do you agree?

No I don't agree because that would cause an ABI change.  Note some
targets (arm-eabi though not arm-linux-eabi) already enable it by
default as it is required by the ABI.

Thanks,
Andrew Pinski



More information about the Gcc mailing list