This is the mail archive of the gcc@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]

Re: void_type_node change


>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:

    Richard> I get blowups on Alpha when void_type_node doesn't have
    Richard> TYPE_SIZE set because it gets passed to FUNCTION_ARG on
    Richard> Alpha to compute the end position but that calls
    Richard> MUST_PASS_IN_STACK, which assumes that TYPE_SIZE is set.

If you change MUST_PASS_IN_STACK to look like:

  ((TYPE) != 0 
  && COMPLETE_TYPE_P (TYPE)
  && (TREE_CODE (...)
  ...)

does that fix it?

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