fold-const.c
443 KB
-
re PR middle-end/67662 (-fsanitize=undefined cries wolf for X - 1 + X when X is 2**30) · ef537cc8
2015-09-23 Richard Biener <rguenther@suse.de> PR middle-end/67662 * fold-const.c (fold_binary_loc): Do not reassociate two vars with undefined overflow unless they will cancel out. * gcc.dg/ubsan/pr67662.c: New testcase. From-SVN: r228051
Richard Biener committed