This is the mail archive of the gcc-patches@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: [C++ PATCH]: size_zero_node


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

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