From 06aca1d5db0b88e8b6d1785c39ea2bff22d53569 Mon Sep 17 00:00:00 2001 From: Ilya Verbin Date: Mon, 20 Apr 2015 14:55:27 +0000 Subject: [PATCH] c-parser.c (c_parser_oacc_enter_exit_data): Remove excess semicolon. gcc/c/ * c-parser.c (c_parser_oacc_enter_exit_data): Remove excess semicolon. (c_parser_omp_target_update): Add missed %> to error_at (). gcc/cp/ * parser.c (cp_parser_omp_target_update): Add missed %> to error_at (). From-SVN: r222237 --- gcc/c/ChangeLog | 5 +++++ gcc/c/c-parser.c | 4 ++-- gcc/cp/ChangeLog | 4 ++++ gcc/cp/parser.c | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1720debab94..e5c19e0acbf 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2015-04-20 Ilya Verbin + + * c-parser.c (c_parser_oacc_enter_exit_data): Remove excess semicolon. + (c_parser_omp_target_update): Add missed %> to error_at (). + 2015-04-10 Bernhard Reutner-Fischer PR target/55143 diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 024dbd2af8a..f5e2ac2c21b 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -12153,7 +12153,7 @@ c_parser_oacc_enter_exit_data (c_parser *parser, bool enter) return; } - stmt = enter ? make_node (OACC_ENTER_DATA) : make_node (OACC_EXIT_DATA);; + stmt = enter ? make_node (OACC_ENTER_DATA) : make_node (OACC_EXIT_DATA); TREE_TYPE (stmt) = void_type_node; if (enter) OACC_ENTER_DATA_CLAUSES (stmt) = clauses; @@ -13851,7 +13851,7 @@ c_parser_omp_target_update (location_t loc, c_parser *parser, && find_omp_clause (clauses, OMP_CLAUSE_FROM) == NULL_TREE) { error_at (loc, - "%<#pragma omp target update must contain at least one " + "%<#pragma omp target update%> must contain at least one " "% or % clauses"); return false; } diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b3feab14b09..08d1010b64d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2015-04-20 Ilya Verbin + + * parser.c (cp_parser_omp_target_update): Add missed %> to error_at (). + 2015-04-16 Paolo Carlini * class.c (resolve_address_of_overloaded_function, instantiate_type): diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index c457a299fb9..4ea2ca2db4a 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -31379,7 +31379,7 @@ cp_parser_omp_target_update (cp_parser *parser, cp_token *pragma_tok, && find_omp_clause (clauses, OMP_CLAUSE_FROM) == NULL_TREE) { error_at (pragma_tok->location, - "%<#pragma omp target update must contain at least one " + "%<#pragma omp target update%> must contain at least one " "% or % clauses"); return false; } -- 2.30.2