Your patch

Nathan Sidwell nathan@codesourcery.com
Sat Mar 18 02:25:00 GMT 2000


Mark Mitchell wrote:

> I think we should just remove this extension, in C++.  But, if Jason
> objects, then, Nathan, we need to find a way to separate the two kinds
> of zeroness.  I think integer_zero_node was used instead of
> size_zero_node exactly for this reason.  Nathan, why did Kenner's
> change result in incomplete types having zero-sized, but not
> size_zero_node, types for their size?
Kenner changed TYPE_SIZE (void_type_node) to not be size_zero_node. We
copy the TYPE_SIZE of that into unknown_type_node.

>  Jason, do you object to removing this extension?
I'll see if I can come up with an alternative, maybe Jason's suggestion
of changing what size_zero_node is into a bitsisetype.

I'll stick your example in the testsuite.

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


More information about the Gcc-bugs mailing list