On Mon, May 08, 2017 at 03:08:31PM -0500, R0b0t1 wrote: > Or, *instead of all of the above,* arithmetic can be defined to wrap. > Technically, with no other changes, this doesn't solve the original > complaint about undefined behavior
It would, because it would be defined to wrap. That's trivial to implement with GCC by building with `-fwrapv`, but I'm not sure how many other compilers provide a similar flag. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
