This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Re: [C++] Re: va_list: ppc
- To: rth@cygnus.com
- Subject: Re: [C++] Re: va_list: ppc
- From: Mark Mitchell <mark@codesourcery.com>
- Date: Mon, 02 Aug 1999 14:27:54 -0700
- Cc: Franz.Sirl-kernel@lauterbach.com, gcc-patches@gcc.gnu.org
- Organization: CodeSourcery, LLC
- References: <4.2.0.58.19990729181805.00ca4680@mail.lauterbach.com><99080100440600.04154@ns1102.munich.netsurf.de><19990802134534.B18393@cygnus.com>
>>>>> "Richard" == Richard Henderson <rth@cygnus.com> writes:
Richard> A minimal fix for this follows. I don't know how many
Richard> other macros might need fixing due to the lack of
Richard> TYPE_LANG_SPECIFIC.
That's the right fix. If you didn't, go ahead and put it in. Thanks!
Richard> Perhaps instead there should be a
Richard> known callback to set up whatever extra type info is
Richard> needed?
Nope; we don't want to waste the space for simple types. We should be
being careful.
In lots of the code, it checks TYPE_LANG_SPECIFIC outside of the
macros. Often that's silly; the checks should be in the macros
themselves for the most part. However, some of the macros are used as
lvalues so they can't have conditions in them, and in some places we
know things are safe.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com