[C++ PATCH] Fix PR10347 (a regression)

Mark Mitchell mark@codesourcery.com
Wed Apr 16 17:25:00 GMT 2003


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@codesourcery.com



More information about the Gcc-patches mailing list