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]

Re: Simple optimizations missing


>>Only if you can deduce that x != 0

Is that true? I thought that division by zero was undefined, in which case
it is perfectly fine to optimize 0 / 0 to 1 (or to 0 or to 42)


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