[gcc(refs/users/rguenth/heads/slp-reorg)] c++: Fix comment typo.
Richard Biener
rguenth@gcc.gnu.org
Fri Mar 20 08:18:04 GMT 2020
https://gcc.gnu.org/g:80616e5b7a5caf6f41210c9451a32de2fd64528e
commit 80616e5b7a5caf6f41210c9451a32de2fd64528e
Author: Jason Merrill <jason@redhat.com>
Date: Tue Mar 17 05:45:02 2020 -0400
c++: Fix comment typo.
Diff:
---
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)
More information about the Gcc-cvs
mailing list