diff options
author | Richard Guenther <rguenther@suse.de> | 2011-08-03 13:33:28 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-08-03 13:33:28 +0000 |
commit | a130fb24411061b0edf14203bd76ff1c3aad89b8 (patch) | |
tree | 8d726f330bfaa34d014e6f7a8736038a869c9858 /gcc/ada/gcc-interface | |
parent | f77b022b82d2ff2a4859b2dab1f58c97ce0d1b51 (diff) | |
download | gcc-a130fb24411061b0edf14203bd76ff1c3aad89b8.zip gcc-a130fb24411061b0edf14203bd76ff1c3aad89b8.tar.gz gcc-a130fb24411061b0edf14203bd76ff1c3aad89b8.tar.bz2 |
re PR middle-end/49958 (fold performs invalid association)
2011-08-03 Richard Guenther <rguenther@suse.de>
PR middle-end/49958
* fold-const.c (fold_binary_loc): Only associate
(+ (+ (* a b) c) (* d e)) as (+ (+ (* a b) (* d e)) c) if
overflow wraps.
* gcc.dg/torture/pr49958.c: New testcase.
From-SVN: r177270
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions