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: nathan at codesourcery dot com
- Subject: Re: [C++ PATCH]: size_zero_node
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 16 Mar 00 12:22:09 EST
- Cc: gcc-patches at gcc dot gnu dot org
G++ had been assuming that all incomplete types had either NULL or
size_zero_node TYPE_SIZE. This is no longer true.
Here's a patch which stops G++ making that assumption. Ok? Or would
it be better to restore the use of size_zero_node?
I think it's better to check for zero since that has more semantic meaning
and is probably cleaner.
In any event, TYPE_SIZE should have always had a node of bitsizetype anyway!