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/14135] No sibcalling for some obvious places (happens in java's front-end)


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-07 03:03 -------
With my two patches, GCC produces (on powerpc-apple-darwin without -mdynamic-no-
pic which is why the pic register is saved:( ):
_java_tree_inlining_walk_subtrees:
00000fc4        lwz     r2,_java_handle_option(r3)
00000fc8        or      r4,r5,r5
00000fcc        stw     r31,0xfffc(r1)
00000fd0        or      r5,r6,r6
00000fd4        cmpwi   cr7,r2,_java_handle_option
00000fd8        or      r6,r7,r7
00000fdc        li      r3,_java_handle_option
00000fe0        beq     cr7,0xffc
00000fe4        lbz     r0,0xc(r2)
00000fe8        cmpwi   cr7,r0,0x4
00000fec        bne     cr7,0xffc
00000ff0        lwz     r31,0xfffc(r1)
00000ff4        addi    r3,r2,0x18
00000ff8        b       0x32dc  ; symbol stub for: _walk_tree
00000ffc        lwz     r31,0xfffc(r1)
00001000        blr

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-03-05 05:25:17         |2004-03-07 03:03:12
               date|                            |


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


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