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 middle-end/23488] [4.1/4.2 Regression] GCSE load PRE does not work with non sets



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


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