[Bug tree-optimization/32183] reassoc can more extra calculations into a loop

2007-06-01 Thread pinskia 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 :; sum.6_192 = sum.6_87; - pretmp.56_197 = sf_77 * 500; # SMT.14_64 = PHI # i_74 = PHI @@ -244,7 +237,8 @@ cmn_prior (incep, varnorm, nfr, cepl

[Bug tree-optimization/32183] reassoc can more extra calculations into a loop

2007-06-01 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-06-02 00:24 --- This happens with integers too. That is if you do: s/float float32/int float32/ You still get the diff: @@ -184,15 +178,15 @@ cmn_prior (incep, varnorm, nfr, ceplen, goto (); :; - D.1857_156 = nframe_lsm.64_9

[Bug tree-optimization/32183] reassoc can more extra calculations into a loop

2007-06-01 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-02 00:21 --- (In reply to comment #5) > We moved a multiply, which is outside of loop in source, into > a loop. I don't think gcc should do it with any optimization > flag, including -ffast-math. Yes but this is still just a mis