This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15255] [tree-ssa] a * 2 + a * 2 is not converted to a * 4
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2004 15:57:39 -0000
- Subject: [Bug tree-optimization/15255] [tree-ssa] a * 2 + a * 2 is not converted to a * 4
- References: <20040503071358.15255.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-24 15:57 -------
The first one is because fold converted it to be (a + a) * 2 but fold should be doing this conversion. PR
15459 fixes the other problem in the PR, I will submitting a new patch today with more comments and
more like the RTL combiner.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15255