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 int overflow behaviour in the security context



> Every leading C compiler has for years done things like this to boost > performance on scientific codes.

The Sun cc is a counter-example.  And even then, authors of scientific
code usually do read the compiler manual, and will discover any
additional optimizer flags.

Errr, actually, Seongbae, who worked for Sun on Sun CC until very
recently, says otherwise, unless i'm mistaken.

Seongbae, didn't you say that Sun's compiler uses the fact that signed
overflow is undefined when performing optimizations?


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