[PATCH] D29437: [ubsan] Detect signed overflow UB in remainder operations
John Regehr via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 1 21:10:04 PST 2017
regehr added a comment.
Does this check need to be sensitive to the dialect of C/C++ that the user asked for? I know that it used to be the case that the standard could be read either way for this case, but as you observe it is now unambiguously UB.
https://reviews.llvm.org/D29437
More information about the cfe-commits
mailing list