This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [csl-hpux-branch]: Use targetm structure for manglings
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Dec 2003 08:20:02 -0800
- Subject: Re: [csl-hpux-branch]: Use targetm structure for manglings
- References: <3FD9AA08.1060404@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com> writes:
> Zack,
> this patch uses the target structure to override the builtin macros, thus
> implementing the hpux long double mangling in a more mainline friendly manner.
>
> If we ever get proper singleton canonical type nodes there will be no
> need to loop in the mangling using c_common_type_for_mode. But that's
> for another day.
>
> built and tested with a native i686-pc-linux-gnu and an ia64-hp-hpux11.23
> cross compiler. ok for csl-hpux-branch?
This is looking good. Please check with Geoff that this arrangement
won't cause problems for PCH. Also, the hash table initialization
would be better broken out into a separate function, called from
init_mangle.
And, since you removed all of the /* Foreign language type mangling
section */, you should delete that comment too.
zw