diff options
author | Richard Biener <rguenther@suse.de> | 2013-10-21 11:34:04 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-10-21 11:34:04 +0000 |
commit | d480e6a572799f809744075cdf447f959753b173 (patch) | |
tree | d39c87a3db103241526f21769916ac517ea36d8f /gcc/tree-ssa-threadedge.c | |
parent | 54f9aba03140c7cdace8ff3c6847af855764656f (diff) | |
download | gcc-d480e6a572799f809744075cdf447f959753b173.zip gcc-d480e6a572799f809744075cdf447f959753b173.tar.gz gcc-d480e6a572799f809744075cdf447f959753b173.tar.bz2 |
re PR middle-end/58742 (pointer arithmetic simplification)
2013-10-21 Richard Biener <rguenther@suse.de>
PR middle-end/58742
* fold-const.c (fold_binary_loc): Fold ((T) (X /[ex] C)) * C
to (T) X for sign-changing conversions (or no conversion).
* c-c++-common/fold-divmul-1.c: New testcase.
From-SVN: r203890
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
0 files changed, 0 insertions, 0 deletions