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: New option?


Sam Lauber wrote:
I think an option -ftrapping-integer-math should be added to GCC that generates calls to the libgcc functions __XXXvdiX and ___XXXvsiX that call `abort()' for overflow instead of calls to the regular assembly instructions for that task.

-ftrapv


Paolo


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