This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: void_type_node change
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: void_type_node change
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 22 Mar 2000 08:58:35 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <10003221321.AA20519@vlsi1.ultra.nyu.edu>
>>>>> "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