This is the mail archive of the gcc-patches@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]

Re: Patch to fix PR9861


Andrew Haley <aph@redhat.com> writes:

> I changed my mind because the space makes assembly expressions look
> really odd.  Like this:
> 
> -----------------------------------------------------------------------
> .globl Test.x() java.lang.Object
>         .type   Test.x() java.lang.Object, @function
> Test.x() java.lang.Object:
> .LFB3:
> .LBB3:
>         movl    $0, %eax
> .LBE3:
>         ret
> .LFE3:
>         .size   Test.x() java.lang.Object, .-Test.x() java.lang.Object
> -----------------------------------------------------------------------

Wait, what's going on here?  The assembler should only see the mangled
name.  The assembler is not going to like those parentheses, much less
the space.

Ian


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