This is the mail archive of the gcc@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: RFA: __imag__ and __real__ in C++ (bug 11437)


On Wed, 2003-07-09 at 15:03, Nathanael Nerode wrote:
> This is just a proof of concept.  In particular, the mangling chosen
> was arbitrary and probably wrong.  :-)
> 
> But I'd like a C++ person to look at bug 11437, and at my analysis and 
> see what should be done.  An alternative solution is to remove _Complex 
> support from C++, of course.

Your patch is OK -- except that you can't count. :-)  Or, rather, you
didn't know you were supposed to count. :-)  The mangling should be
"v18__imag__" since there is 1 argument and 8 characters in "__imag__". 
Similarly for "__real__".

Please make that change and check it in!

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


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