News for hackers. Stuff that matters.
Re:Undefined behavior can result in time travel by infogulch on Friday June 27, 2014 @03:04PM (#7955720)
I can see how macros can throw a wrench into this, but couldn't compilers tell the difference between when someone wrote code that might have a bug and when it inlines a function that is a bit paranoid for that situation?
Re:Undefined behavior can result in time travel by pcwalton on Friday June 27, 2014 @03:34PM (#7955872)
Yes, by allowing the optimizer the freedom to exploit undefined behavior, but coupling that with static analysis (or a stricter language semantics) that can catch bugs before they get to the optimizer.