diff options
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/cp/cp-cilkplus.c | 2 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 8 |
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index aa1fd0c..78bcd3f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,11 @@ +2017-01-09 Jakub Jelinek <jakub@redhat.com> + + PR translation/79019 + PR translation/79020 + * semantics.c (finish_omp_clauses): Add missing whitespace to + translatable strings. + * cp-cilkplus.c (cpp_validate_cilk_plus_loop_aux): Fix comment typo. + 2017-01-07 Jason Merrill <jason@redhat.com> PR c++/78948 - instantiation from discarded statement diff --git a/gcc/cp/cp-cilkplus.c b/gcc/cp/cp-cilkplus.c index ce326b6..d147e7e 100644 --- a/gcc/cp/cp-cilkplus.c +++ b/gcc/cp/cp-cilkplus.c @@ -137,7 +137,7 @@ cilk_cp_detect_spawn_and_unwrap (tree *exp0) This function is passed in as a function pointer to walk_tree. *TP is the current tree pointer, *WALK_SUBTREES is set to 0 by this function if recursing into TP's subtrees is unnecessary. *DATA is a bool variable that - is set to false if an error has occured. */ + is set to false if an error has occurred. */ static tree cpp_validate_cilk_plus_loop_aux (tree *tp, int *walk_subtrees, void *data) diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 2ab0723..342b671 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -6221,7 +6221,7 @@ finish_omp_clauses (tree clauses, enum c_omp_region_type ort) && t != integer_minus_one_node) { warning_at (OMP_CLAUSE_LOCATION (c), 0, - "%<gang%> static value must be" + "%<gang%> static value must be " "positive"); t = integer_one_node; } @@ -6288,12 +6288,12 @@ finish_omp_clauses (tree clauses, enum c_omp_region_type ort) break; case OMP_CLAUSE_VECTOR: warning_at (OMP_CLAUSE_LOCATION (c), 0, - "%<vector%> length value must be" + "%<vector%> length value must be " "positive"); break; case OMP_CLAUSE_WORKER: warning_at (OMP_CLAUSE_LOCATION (c), 0, - "%<worker%> num value must be" + "%<worker%> num value must be " "positive"); break; default: @@ -7048,7 +7048,7 @@ finish_omp_clauses (tree clauses, enum c_omp_region_type ort) && TREE_CODE (TREE_TYPE (type)) != ARRAY_TYPE))) { error_at (OMP_CLAUSE_LOCATION (c), - "%qs variable is neither a pointer, nor an array" + "%qs variable is neither a pointer, nor an array " "nor reference to pointer or array", omp_clause_code_name[OMP_CLAUSE_CODE (c)]); remove = true; |