[C++ PATCH] Handle CONSTRUCTOR in value_dependent_expression_p (PR c++/29570)
Mark Mitchell
mark@codesourcery.com
Mon Nov 20 20:46:00 GMT 2006
Jason Merrill wrote:
> OK.
Actually, I don't think this is a good solution.
I would like to know why we're looking at the body of this CONSTRUCTOR
at all, since such a thing is not an integral constant-expression. (The
comment above value_dependent_expression_p says that EXPRESSION is
already known to be a constant expression.) The intent is that this
routine only be called when the parser has already identified the
expression as a constant-expression.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list