From 80616e5b7a5caf6f41210c9451a32de2fd64528e Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 17 Mar 2020 05:45:02 -0400 Subject: [PATCH] c++: Fix comment typo. --- gcc/cp/constraint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc index 697ed6726b8..21769782bf0 100644 --- a/gcc/cp/constraint.cc +++ b/gcc/cp/constraint.cc @@ -2536,7 +2536,7 @@ satisfy_atom (tree t, tree args, subst_info info) location_t loc = cp_expr_loc_or_input_loc (expr); - /* [17.4.1.2] ... lvalue-to-value conversion is performed as necessary, + /* [17.4.1.2] ... lvalue-to-rvalue conversion is performed as necessary, and EXPR shall be a constant expression of type bool. */ result = force_rvalue (result, info.complain); if (result == error_mark_node) -- 2.30.2