This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]