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: signed is undefined and has been since 1992 (in GCC)


Joe Buck wrote:

I challenge you, Robert, to find us a C compiler that generates trapping
instructions for integer adds by default.  I do not believe that such a
compiler exists.

Probably there is no production compiler that does, MIPS would be the only possibility I think in practice. Certainly there are checkout debugging compilers that detect undefined operations.



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