This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/36188] missed CCP



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]