diff options
author | Richard Guenther <rguenther@suse.de> | 2006-04-05 08:16:38 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-04-05 08:16:38 +0000 |
commit | 6eee98936968c67edc8d9190b215819498840b57 (patch) | |
tree | 45b8361ffc4c1c5d575d89fb35f70ef96623e1d1 /libjava | |
parent | 80521187ef59a2d150007032f04c2ccdeb59afe1 (diff) | |
download | gcc-6eee98936968c67edc8d9190b215819498840b57.zip gcc-6eee98936968c67edc8d9190b215819498840b57.tar.gz gcc-6eee98936968c67edc8d9190b215819498840b57.tar.bz2 |
re PR tree-optimization/26763 (wrong final value of induction variable calculated)
2006-04-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/26763
* fold-const.c (fold_comparison): Move folding of
PTR + CST CMP PTR + CST ...
(fold_binary): ... here. Fold only for EQ_EXPR and NE_EXPR.
* gcc.dg/torture/pr26763-1.c: New testcase.
* gcc.dg/torture/pr26763-2.c: Likewise.
From-SVN: r112697
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions