aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-05-28 12:44:11 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-05-28 12:44:11 +0000
commitb017a17489a1e89510a224a3796275ec5cac97c4 (patch)
tree1be500648cca150639fee9e44beec23154844c0d /gcc/expr.c
parenta4d6bf7e9fb614acec6d0df6932b60a88c13007c (diff)
downloadgcc-b017a17489a1e89510a224a3796275ec5cac97c4.zip
gcc-b017a17489a1e89510a224a3796275ec5cac97c4.tar.gz
gcc-b017a17489a1e89510a224a3796275ec5cac97c4.tar.bz2
re PR middle-end/61045 (Wrong constant folding)
2014-05-28 Richard Biener <rguenther@suse.de> PR middle-end/61045 * fold-const.c (fold_comparison): When folding X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure the sign of the remaining constant operand stays the same. * gcc.dg/pr61045.c: New testcase. From-SVN: r211018
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions