This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH]: size_zero_node
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: [C++ PATCH]: size_zero_node
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 20 Mar 2000 10:01:49 -0800
- Cc: jason at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <10003201747.AA15144@vlsi1.ultra.nyu.edu>
>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:
Richard> Here's a question: Why do we set TYPE_SIZE on
Richard> VOID_TYPE at all?
I see I asked Jason's question in a considerably more verbose manner.
Richard> Because an unset TYPE_SIZE means an complete type and
Richard> VOID_TYPE isn't. Perhaps a shorter answer is "why not?".
I assume that you mean "an unset TYPE_SIZE means an *incomplete* type
and VOID_TYPE isn't"?
But `void' *is* incomplete.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com