This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the EGCS project.


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

Re: [C++] Re: va_list: ppc


>>>>> "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

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