aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-08-22 12:43:49 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-08-22 12:43:49 +0000
commitbeeab17c6ed0733203002932c08d1d3f3fe5d053 (patch)
tree3d71422e6cc09e286c8804aef278b4add145989a /gcc/tree-ssa-loop-niter.c
parentda2f5d14dfc05f9a9527ea3e0700a345857a83bc (diff)
downloadgcc-beeab17c6ed0733203002932c08d1d3f3fe5d053.zip
gcc-beeab17c6ed0733203002932c08d1d3f3fe5d053.tar.gz
gcc-beeab17c6ed0733203002932c08d1d3f3fe5d053.tar.bz2
re PR middle-end/36548 (remainder gives the wrong result for wrapping case with unsigned types)
2008-08-22 Richard Guenther <rguenther@suse.de> PR middle-end/36548 PR middle-end/37125 * fold-const.c (extract_muldiv_1): Optimize (X * C1) % C2 only if the multiplication does not overflow. * gcc.c-torture/execute/pr37125.c: New testcase. From-SVN: r139450
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions