diff options
author | iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-20 14:55:27 +0000 |
---|---|---|
committer | iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-20 14:55:27 +0000 |
commit | 05a827ce69d986a851a0786c01c81b6afbccb90e (patch) | |
tree | 4e7b3934840fb524ed39c79385e0db4b7f038bb6 /gcc/c | |
parent | 5a7715dd30a416f5fd8682bc741cb4f29a5ff2f5 (diff) | |
download | gcc-05a827ce69d986a851a0786c01c81b6afbccb90e.tar.gz |
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 ().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222237 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c/c-parser.c | 4 |
2 files changed, 7 insertions, 2 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 <ilya.verbin@intel.com> + + * 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 <aldot@gcc.gnu.org> 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 " "%<from%> or %<to%> clauses"); return false; } |