pt.c (value_dependent_expression_p): Don't check value_dependent_expression_p on the operand.
* pt.c (value_dependent_expression_p) [NOEXCEPT_EXPR]: Don't check value_dependent_expression_p on the operand. From-SVN: r171013
This commit is contained in:
parent
17bc631c68
commit
6871351bb0
|
@ -1,5 +1,9 @@
|
|||
2011-03-15 Jason Merrill <jason@redhat.com>
|
||||
|
||||
Core 1074
|
||||
* pt.c (value_dependent_expression_p) [NOEXCEPT_EXPR]: Don't
|
||||
check value_dependent_expression_p on the operand.
|
||||
|
||||
* semantics.c (push_cx_call_context): Return bool.
|
||||
(cxx_eval_call_expression): Handle excess depth.
|
||||
|
||||
|
|
|
@ -18143,9 +18143,7 @@ value_dependent_expression_p (tree expression)
|
|||
|
||||
case NOEXCEPT_EXPR:
|
||||
expression = TREE_OPERAND (expression, 0);
|
||||
/* FIXME why check value-dependency? */
|
||||
return (type_dependent_expression_p (expression)
|
||||
|| value_dependent_expression_p (expression));
|
||||
return type_dependent_expression_p (expression);
|
||||
|
||||
case SCOPE_REF:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue