This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix more of 5132
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 29 Jan 2002 09:52:46 +0000
- Subject: Re: [C++ PATCH] Fix more of 5132
- Organization: Codesourcery LLC
- References: <36290000.1012272363@warlock.codesourcery.com>
Mark Mitchell wrote:
>
> +
> + if (!complete_type_or_else (strip_array_types (type), NULL_TREE))
> + return error_mark_node;
>
> Why do you need the strip_array_types here? Doesn't
> complete_type_or_else recurse on ARRAY_TYPEs anyhow?
The outermost bound of an array could be unspecified here (digest_init
will determine it). I've added a comment
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