diff options
author | msebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-04 17:40:05 +0000 |
---|---|---|
committer | msebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-04 17:40:05 +0000 |
commit | 8c41abe84cb4c6d3a99d8ccf546c7fa798736749 (patch) | |
tree | e7bcef95a7fa8543f14fcb07b73e57a83e3c8747 /gcc/hsa-gen.c | |
parent | 0bc86703f61d7839911e8783cbe3e79b5651e271 (diff) | |
download | gcc-8c41abe84cb4c6d3a99d8ccf546c7fa798736749.tar.gz |
PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c
gcc/c-family/ChangeLog:
PR translation/80280
* c-attribs.c (handle_alias_ifunc_attribute): Quote a %D directive.
(handle_weakref_attribute): Same.
PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c
gcc/ChangeLog:
PR translation/80280
* config/i386/i386.c (ix86_function_versions): Quote a %D directive.
PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c
gcc/cp/ChangeLog:
PR translation/80280
* call.c (print_z_candidate): Add missing quoting to %D and other
like directives.
(build_op_call_1): Same.
* constraint.cc (diagnose_check_constraint): Same.
* mangle.c (mangle_decl): Same.
* name-lookup.c (cp_binding_level_debug): Same.
(set_decl_namespace): Same.
* parser.c (cp_parser_tx_qualifier_opt): Same.
* pt.c (print_candidates_1): Same.
(check_template_variable): Same.
(tsubst_default_argument): Same.
(most_specialized_partial_spec): Same.
* semantics.c (omp_reduction_lookup): Same.
* tree.c (check_abi_tag_redeclaration): Same.
* typeck.c (comptypes): Same.
* typeck2.c (abstract_virtuals_error_sfinae): Same.
PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c
gcc/ChangeLog:
PR translation/80280
* builtins.c (expand_builtin_object_size): Add missing quoting to
%D and like directives.
* hsa-gen.c (hsa_type_for_scalar_tree_type): Same.
(hsa_type_for_tree_type): Same.
(verify_function_arguments): Same.
* symtab.c (symbol_table::change_decl_assembler_name): Same.
* varasm.c (get_section): Same.
(mark_weak): Same.
PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c
gcc/objc/ChangeLog:
PR translation/80280
* objc-gnu-runtime-abi-01.c (objc_eh_runtime_type): Add missing
quoting to directives.
* objc-next-runtime-abi-01.c (objc_eh_runtime_type): Ditto.
* objc-next-runtime-abi-02.c (next_runtime_02_eh_type): Ditto.
PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c
gcc/testsuite/ChangeLog:
PR translation/80280
* g++.dg/abi/Wabi-2-3.C: Adjust.
* g++.dg/abi/Wabi-3-2.C: Ditto.
* g++.dg/lookup/using17.C: Ditto.
* gcc.dg/format/gcc_diag-1.c (foo): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247607 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hsa-gen.c')
-rw-r--r-- | gcc/hsa-gen.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/hsa-gen.c b/gcc/hsa-gen.c index 7b69d64ac97..4b85e0b2678 100644 --- a/gcc/hsa-gen.c +++ b/gcc/hsa-gen.c @@ -587,7 +587,7 @@ hsa_type_for_scalar_tree_type (const_tree type, bool min32int) { HSA_SORRY_ATV (EXPR_LOCATION (type), "support for HSA does not implement huge or " - "variable-sized type %T", type); + "variable-sized type %qT", type); return res; } @@ -616,7 +616,7 @@ hsa_type_for_scalar_tree_type (const_tree type, bool min32int) if (res == BRIG_TYPE_NONE) { HSA_SORRY_ATV (EXPR_LOCATION (type), - "support for HSA does not implement type %T", type); + "support for HSA does not implement type %qT", type); return res; } @@ -628,7 +628,7 @@ hsa_type_for_scalar_tree_type (const_tree type, bool min32int) { HSA_SORRY_ATV (EXPR_LOCATION (type), "support for HSA does not implement a vector type " - "where a type and unit size are equal: %T", type); + "where a type and unit size are equal: %qT", type); return res; } @@ -645,7 +645,7 @@ hsa_type_for_scalar_tree_type (const_tree type, bool min32int) break; default: HSA_SORRY_ATV (EXPR_LOCATION (type), - "support for HSA does not implement type %T", type); + "support for HSA does not implement type %qT", type); } } @@ -704,7 +704,7 @@ hsa_type_for_tree_type (const_tree type, unsigned HOST_WIDE_INT *dim_p = NULL, if (!tree_fits_uhwi_p (TYPE_SIZE_UNIT (type))) { HSA_SORRY_ATV (EXPR_LOCATION (type), "support for HSA does not " - "implement huge or variable-sized type %T", type); + "implement huge or variable-sized type %qT", type); return BRIG_TYPE_NONE; } @@ -732,8 +732,8 @@ hsa_type_for_tree_type (const_tree type, unsigned HOST_WIDE_INT *dim_p = NULL, || !tree_fits_shwi_p (TYPE_MAX_VALUE (domain))) { HSA_SORRY_ATV (EXPR_LOCATION (type), - "support for HSA does not implement array %T with " - "unknown bounds", type); + "support for HSA does not implement array " + "%qT with unknown bounds", type); return BRIG_TYPE_NONE; } HOST_WIDE_INT min = tree_to_shwi (TYPE_MIN_VALUE (domain)); @@ -3485,14 +3485,14 @@ verify_function_arguments (tree decl) if (DECL_STATIC_CHAIN (decl)) { HSA_SORRY_ATV (EXPR_LOCATION (decl), - "HSA does not support nested functions: %D", decl); + "HSA does not support nested functions: %qD", decl); return; } else if (!TYPE_ARG_TYPES (type) || stdarg_p (type)) { HSA_SORRY_ATV (EXPR_LOCATION (decl), "HSA does not support functions with variadic arguments " - "(or unknown return type): %D", decl); + "(or unknown return type): %qD", decl); return; } } |