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] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.


>>>>> "Carlo" == Carlo Wood <carlo@alinoe.com> writes:

 Carlo> On Mon, Nov 24, 2003 at 08:44:17AM -0500, Jerry Quinn wrote:
 >> I have a couple of curiosity questions:
 >> 
 >> 1) Are IEEE numbers the only ones that will ever be seen by
 >> print_IEEE_fp?

 Carlo> It seems that the ABI defines that the hex float value is a
 Carlo> direct representation of the bits in a float/double of the
 Carlo> target machine :(.  So, no.  In that case it will output
 Carlo> nonsense.  But, from the point of view of a cross compiler,
 Carlo> there is not reasonable way for a demangler to know what the
 Carlo> target WAS - so I chose to handle everything as IEEE and sorry
 Carlo> for the those who own a Cray.

... and a bunch of other platforms.

I don't understand this -- code is built for a particular target.
Why can't the demangler interpret floating point stuff according to
what --target is set to?

     paul


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