aboutsummaryrefslogtreecommitdiff
path: root/gcc/timevar.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-10-28 10:01:23 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-10-28 10:01:23 +0000
commit254b22cc79c594756343f645cbcf7163e39cf5b4 (patch)
tree7ab6a96e8d54ebc23cadb2b7c7cab37e3c07e38a /gcc/timevar.c
parentaf7ff91b2425e201c00333f0343fd7e28297d8dc (diff)
downloadgcc-254b22cc79c594756343f645cbcf7163e39cf5b4.zip
gcc-254b22cc79c594756343f645cbcf7163e39cf5b4.tar.gz
gcc-254b22cc79c594756343f645cbcf7163e39cf5b4.tar.bz2
re PR middle-end/68067 (Wrong constant folding)
2015-10-28 Richard Biener <rguenther@suse.de> PR middle-end/68067 * fold-const.c (negate_expr_p): We cannot negate plus or minus if overflow is not wrapping. Likewise multiplication unless one operand is constant and not power of two. (fold_negate_expr): Adjust accordingly. * gcc.dg/torture/pr68067-1.c: New testcase. * gcc.dg/torture/pr68067-2.c: Likewise. From-SVN: r229479
Diffstat (limited to 'gcc/timevar.c')
0 files changed, 0 insertions, 0 deletions