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]
Other format: [Raw text]

Re: [C++ PATCH] Fix more of 5132


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


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