ppc va-arg-10 fix

Mark Mitchell mark@codesourcery.com
Tue Oct 5 09:37:00 GMT 1999


>>>>> "Franz" == Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:

    Franz> Works fine for me, thanks. What about the make_lang_type_fn
    Franz> issue? Mind to comment on my questions or do you want to
    Franz> implement it yourself?

I'd just do:

  tree (*make_lang_type_fn) PROTO((enum tree_code)) = &make_node;

  tree make_lang_type (code)
    enum tree_code;
  {
    return *make_lang_type_fn (code);
  }

and, in whatever piece of the C++ front-end is called first:

  make_lang_type_fn = cp_make_lang_type;

(renaming make_lang_type to cp_make_lang_type, of course.).

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-patches mailing list