This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32183] reassoc can more extra calculations into a loop
- 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: 2 Jun 2007 00:26:08 -0000
- Subject: [Bug tree-optimization/32183] reassoc can more extra calculations into a loop
- References: <bug-32183-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pinskia at gcc dot gnu dot org 2007-06-02 00:26 -------
I pasted the wrong part of the diff:
# SMT.14_85 = PHI <SMT.14_183(16)>
<L106>:;
sum.6_192 = sum.6_87;
- pretmp.56_197 = sf_77 * 500;
# SMT.14_64 = PHI <SMT.14_184(18), SMT.14_85(17)>
# i_74 = PHI <i_107(18), 0(17)>
@@ -244,7 +237,8 @@ cmn_prior (incep, varnorm, nfr, ceplen,
D.1883_123 = (unsigned int) i_74;
# VUSE <SMT.14_64>
D.1709_105 = MEM[base: sum.6_87, index: D.1883_123, step: 4];
- D.1710_106 = D.1709_105 * pretmp.56_197;
+ pretmp.56_197 = D.1709_105 * 500;
+ D.1710_106 = pretmp.56_197 * sf_77;
D.1884_118 = (unsigned int) i_74;
# SMT.14_184 = VDEF <SMT.14_64>
MEM[base: sum.6_87, index: D.1884_118, step: 4] = D.1710_106;
@@ -293,7 +287,7 @@ cmn_prior (incep, varnorm, nfr, ceplen,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32183