------- Comment #13 from pinskia at gcc dot gnu dot org  2006-01-18 20:26 
-------
Hmm, we actually produce better code on the mainline for my example in comment
#2:
_xtermEnvEncoding1:
        movl    _result.1525, %edx
        movl    $2, %eax
        pushl   %ebp
        movl    %esp, %ebp
        popl    %ebp
        testl   %edx, %edx
        cmovne  _result.1525, %eax
        movl    %eax, _result.1525
        ret

But that is does not fix the problem in comment #0.  Load PRE on the tree level
is not working because this is not an indirect reference to the variable.  That
is a known issue too.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |middle-end
 GCC target triplet|i686-pc-linux.-gnu          |i686-*-*


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

Reply via email to