No effect of -fshort-enums..is it a bug

Robert Dewar dewar@adacore.com
Thu Sep 22 16:51:00 GMT 2005


Dave Korn wrote:
>
>>>Please confirm which of the two outputs is correct and why is there a
>>
>>difference in the output of two versions of compiler?
>>
>>Both outputs are "correct".

>   No, the standard is entirely unambiguous:

of course, but the behavior of a compiler with a special implementation
dependent switch is not specified by the standard! Switches can do any
amount of violence to the standard you like, the only requirement is
that there be a defined set of switches which gives standard defined
semantics.



More information about the Gcc mailing list