[Bug tree-optimization/36188] missed CCP

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 15 23:54:00 GMT 2008



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-08-15 23:52 -------
On the trunk we get:
        lis 11,.LANCHOR0@ha
        la 9,.LANCHOR0@l(11)
        lwz 0,.LANCHOR0@l(11)
        cmpwi 7,0,0
        bne 7,.L6
        li 0,1344
        li 3,1344
        stw 0,4(9)
        li 9,1
        stw 9,.LANCHOR0@l(11)
        blr
Which is better but still can be improved.  Basically we have to prove syncsize
is only set when init is set.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36188



More information about the Gcc-bugs mailing list