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/29978] [4.0/4.1/4.2/4.3 Regression] redundant jumps



------- Comment #2 from aldot at gcc dot gnu dot org  2007-12-14 11:05 -------
Confirmed. gcc-2.95.4 works as expected:

$ gcc-2.95 -Os -fomit-frame-pointer pr29978.i -S -o -
        .file   "pr29978.i"
        .version        "01.01"
gcc2_compiled.:
.text
        .align 16
.globl f
        .type    f,@function
f:
        subl $12,%esp
        cmpl $15,20(%esp)
        jle .L3
        call g
.L3:
        call g
        addl $12,%esp
        ret
.Lfe1:
        .size    f,.Lfe1-f
        .ident  "GCC: (GNU) 2.95.4 20011002 (Debian prerelease)"


-- 

aldot at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldot at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |missed-optimization
      Known to fail|                            |3.3 3.4.6 4.0.4 4.1.3 4.2.2
      Known to work|                            |2.95.4
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-14 11:05:43
               date|                            |
            Summary|suboptimal code generation  |[4.0/4.1/4.2/4.3 Regression]
                   |                            |redundant jumps


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


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