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 PR10347 (a regression)


On Tue, 2003-04-15 at 06:19, Kriang Lerdsuwanakij wrote:
> Hi
> 
> This patch fixes an ICE in type_dependent_expression_p when
> it is presented with an array new expression (NEW_EXPR with
> operand 1 being a TREE_LIST).  Such NEW_EXPR is created in
> build_new when the array new is in a template.
> 
> Tested on i686-pc-linux-gnu with no regressions.  OK for
> main trunk?

Yes.  But this kind of thing is oh-so-ugly.  If I can ever get out from
under 3.3, I want to try to finish the two-phase name lookup stuff on
the mainline so this kind of junk can go away.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery dot com


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