------- Comment #5 from law at redhat dot com  2010-02-24 20:31 -------
Just tried this with the trunk:

        .file   "j.C"
        .section .text
        .align 1
        .global _main
_main:
        mov.w   r6,@-r7
        mov.w   r7,r6
        mov.w   @__ZN3FooIiE6foovarE:16,r2
        mov.w   r2,r0
        mov.w   @r7+,r6
        rts
        .size   _main, .-_main
        .weak   __ZN3FooIiE6foovarE
        .section       
.data._ZN3FooIiE6foovarE,"awG",@progbits,_ZN3FooIiE6foovarE,comdat
        .align 1
        .type   __ZN3FooIiE6foovarE, @object
        .size   __ZN3FooIiE6foovarE, 2
__ZN3FooIiE6foovarE:
        .word   35
        .ident  "GCC: (GNU) 4.5.0 20100220 (experimental) (Red Hat/devo) [trunk
revision 156898]"
        .end


Which looks correct to me.


-- 

law at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

Reply via email to