diff options
Diffstat (limited to 'gcc/cp/parser.cc')
-rw-r--r-- | gcc/cp/parser.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc index 09cba71..f5f9f5a 100644 --- a/gcc/cp/parser.cc +++ b/gcc/cp/parser.cc @@ -40625,9 +40625,8 @@ cp_parser_omp_clause_map (cp_parser *parser, tree list) } else { - cp_parser_error (parser, "%<#pragma omp target%> with " - "modifier other than %<always%>, %<close%> " - "or %<present%> on %<map%> clause"); + cp_parser_error (parser, "%<map%> clause with map-type modifier other" + " than %<always%>, %<close%> or %<present%>"); cp_parser_skip_to_closing_parenthesis (parser, /*recovering=*/true, /*or_comma=*/false, |