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 optimization/14824] inlining hurting performance due to non-removing of constant assignments inside loops containing conditionals


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-02 16:57 -------
It is already fixed on the tree-ssa:
#APP
        testlabel1: 
#NO_APP
        xorl    %eax, %eax  <--- this is here because z was uninitialized in your example for some cases.
        testl   %edx, %edx
        jle     .L7
        .p2align 4,,15
.L8:
        incl    %eax
        cmpl    %edx, %eax
        jl      .L8
        movl    $4, %eax
.L7:
#APP
        testlabel2: 
#NO_APP

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
      Known to fail|                            |3.5.0
      Known to work|                            |tree-ssa


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


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