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 rtl-optimization/14237] suboptimal comparison between long and long long



------- Comment #6 from pinskia at gcc dot gnu dot org  2009-04-22 22:20 -------
We now get:
foo:
        movl    $1, %eax
        movl    g+4, %edx
        testl   %edx, %edx
        jne     .L3
        movl    4(%esp), %edx
        cmpl    g, %edx
        jb      .L3
        ret
        .p2align 2,,3
.L3:
        xorl    %eax, %eax
        ret

Fixed and has been fixed since 4.3.0.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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