This is the mail archive of the gcc@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++] NEW_EXPR and PR c++/11406


> | That second parameter should really be a TYPE -- not a declarator
> | thingy.  If you are interested in fixing that, you want to move the bits
> | out of build_new that handle the TREE_LIST case and move them into the
> | parser.
> 
> It seems the long-term winning plan is to fix the logic of building
> new-expression and not hack cp/error.c to accept the TREE_LIST in
> new-expression.  Is that correct? 

Yes.

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


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