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 11228


On Thu, 2003-06-19 at 12:23, Matt Austern wrote:
> This is a patch for the C++ front end bug 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11228.
> The bug was that the compiler assumed it could always use 
> build_zero_init to default-
> initialize an array of POD types.  That assumption was false for arrays 
> where the bound
> was variable.  This patch fixes that assumption, and adds assertions 
> and test cases.

This is OK for mainline and branch, but with one change.

Write "nelts != NULL_TREE" as "nelts"; we've favored the compact form
over the more explicit form.

Thanks,

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


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