diff options
author | Richard Biener <rguenther@suse.de> | 2015-09-23 14:09:48 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-09-23 14:09:48 +0000 |
commit | ef537cc859dd149230454398078da6d3128cfd9a (patch) | |
tree | 67581402c59ae589386b720bd313c301e37ab859 /gcc/tree-parloops.c | |
parent | 9e07d08d785f0c612c0dd1c0ed713ebaf8298720 (diff) | |
download | gcc-ef537cc859dd149230454398078da6d3128cfd9a.zip gcc-ef537cc859dd149230454398078da6d3128cfd9a.tar.gz gcc-ef537cc859dd149230454398078da6d3128cfd9a.tar.bz2 |
re PR middle-end/67662 (-fsanitize=undefined cries wolf for X - 1 + X when X is 2**30)
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
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions