Message ID | 4D7FB05D.7020708@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 95b82ee..c8c1010 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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: {