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: [PATCH] C undefined behavior fix


<<And we can NOT avoid the debate on whether the code is right or wrong,
when the compiler writers themselves clearly aren't aware of all issues
either.
>>

My point was that things need to be rigorously documented, so that there
is no argument as to whether or not code is right or wrong.

<<The gcc-3 optimization is _bogus_ as per the C standard, and has to be
disabled at least for the case where the pointer was cast to an integer.
>>

I don't follow your reasoning here, can you be more clear about the exact
language in the standard that you are appealing to?


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