diff options
author | Richard Guenther <rguenther@suse.de> | 2006-10-23 07:19:34 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-10-23 07:19:34 +0000 |
commit | b0cd88d2161d4b0ba7e0f80a645379c888790463 (patch) | |
tree | d97b9b672b20ee97edec65e201600934023bb726 /gcc/tree-ssa-structalias.c | |
parent | 4f76e46b189899f58e018dec68d7f5e68a6e55a2 (diff) | |
download | gcc-b0cd88d2161d4b0ba7e0f80a645379c888790463.zip gcc-b0cd88d2161d4b0ba7e0f80a645379c888790463.tar.gz gcc-b0cd88d2161d4b0ba7e0f80a645379c888790463.tar.bz2 |
[multiple changes]
2006-10-24 Richard Guenther <rguenther@suse.de>
PR middle-end/27132
PR middle-end/23295
* builtins.c (fold_binary): Remove checks for flag_wrapv
and flag_trapv where negate_expr_p covers these cases.
* gcc.dg/pr27132.c: New testcase.
* gcc.dg/pr23295.c: Likewise.
* gcc.dg/tree-ssa/pr23294.c: Adjust patterns.
* g++.dg/tree-ssa/pr19807.C: Likewise.
2006-10-23 Richard Guenther <rguenther@suse.de>
PR middle-end/29548
* fold-const.c (fold_plusminus_mult_expr): Check exact power
of two on the absolute value.
(fold_binary): Fold x * -C to -x * C if x is easily negatable
and negating -C does not overflow.
From-SVN: r117969
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions