https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125317
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yeah, I think so, like:
--- a/gcc/cp/parser.cc
+++ b/gcc/cp/parser.cc
@@ -34946,6 +34946,9 @@ cp_parser_requirement_body (cp_parser *parser)
if (!braces.require_open (parser))
return error_mark_node;
+ /* Within a requirement-body, a `>' token is the greater-than operator. */
+ auto gtio = make_temp_override (parser->greater_than_is_operator_p, true);
+
tree reqs = cp_parser_requirement_seq (parser);
if (!braces.require_close (parser))