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: [PATCH] Fix PR C++/28906, fallout from the fix for PR 27184


On Thu, 2006-09-07 at 14:11 -0400, Jason Merrill wrote:
> Andrew Pinski wrote:
> >> Why not just pass the index type to build_cplus_array_type?
> > 
> > Because we will then reject the following valid code:
> 
> Then OK with a comment added about that.

Actually there is already a comment about that:
      /* ??? The middle-end will error on us for building a VLA outside a
         function context.  Methinks that's not it's purvey.  So we'll do
         our own VLA layout later.  */

Should I add another one or is the one above ok?

Thanks,
Andrew Pinski


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