[rt #83212] avoid a possible bad optimizer on centos 5.9
authorTony Cook <tony@p250.dhcp.tony.develop-help.com>
Mon, 18 Feb 2013 12:21:45 +0000 (23:21 +1100)
committerTony Cook <tony@p250.dhcp.tony.develop-help.com>
Mon, 18 Feb 2013 12:21:45 +0000 (23:21 +1100)
commit1e9de315ee6bc5fc7bc990a81eb5662f1f8fcfff
tree2d69ea1f957a6241cd3350756668a3b224c72842
parent84700c447c06ea1dfafe94ff21282b868204a84b
[rt #83212] avoid a possible bad optimizer on centos 5.9

rotate(degrees => 270) was producing glitches near the horizontal and
vertical centrelines only on 5.9 with the default (perl config
specified) optimizations.  These disappeared when Imager was built with
-O1 instead.

Re-arranged some code to avoid duplicate floor() and double -> long
conversions which seems to have avoided the optimization problem.
rotate.im
t/t64copyflip.t