From bd2c62704bb7e012a3e780dec1288678f51bcd6c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 9 Jan 2017 22:48:33 +0100 Subject: re PR translation/79019 (translatable string typo in cif-code.def:141) PR translation/79019 PR translation/79020 * params.def (PARAM_INLINE_MIN_SPEEDUP, PARAM_IPA_CP_SINGLE_CALL_PENALTY, PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD): Fix typos in descriptions. * config/avr/avr.opt (maccumulate-args): Likewise. * config/msp430/msp430.opt (mwarn-mcu): Likewise. * common.opt (freport-bug): Likewise. * cif-code.def (CIF_FINAL_ERROR): Likewise. * doc/invoke.texi (ipa-cp-single-call-penalty): Likewise. * config/s390/s390.c (s390_invalid_binary_op): Fix spelling in translatable string. * config/i386/i386.c (function_value_32): Likewise. * config/nios2/nios2.c (nios2_valid_target_attribute_rec): Likewise. * config/msp430/msp430.c (msp430_option_override, msp430_attr): Likewise. * config/msp430/driver-msp430.c (msp430_select_hwmult_lib): Likewise. * common/config/msp430/msp430-common.c (msp430_handle_option): Likewise. * symtab.c (symtab_node::verify_base): Likewise. * opts.c (set_debug_level): Likewise. * tree.c (verify_type_variant): Likewise. Fix typo in comment. * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add missing whitespace to translatable strings. * config/avr/avr.md (bswapsi2): Fix typo in comment. * config/sh/superh.h: Likewise. * config/i386/xopintrin.h: Likewise. * config/i386/znver1.md: Likewise. * config/rs6000/rs6000.c (struct rs6000_opt_mask): Likewise. * ipa-inline-analysis.c (compute_inline_parameters): Likewise. * double-int.h (struct double_int): Likewise. * double-int.c (div_and_round_double): Likewise. * wide-int.cc: Likewise. * tree-ssa.c (non_rewritable_mem_ref_base): Likewise. * tree-ssa-sccvn.c (vn_reference_lookup_3): Likewise. * cfgcleanup.c (crossjumps_occured): Renamed to ... (crossjumps_occurred): ... this. (try_crossjump_bb, try_head_merge_bb, try_optimize_cfg, cleanup_cfg): Adjust all uses. cp/ * semantics.c (finish_omp_clauses): Add missing whitespace to translatable strings. * cp-cilkplus.c (cpp_validate_cilk_plus_loop_aux): Fix comment typo. lto/ * lto-symtab.c (lto_symtab_merge_symbols): Fix comment typo. fortran/ * decl.c (attr_decl1): Fix spelling in translatable string. * intrinsic.texi: Fix spelling - invokation -> invocation. * lang.opt (faggressive-function-elimination, gfc_convert): Fix typos in descriptions. * openmp.c (resolve_omp_clauses): Add missing whitespace to translatable strings. c-family/ * c.opt (Wnormalized=): Fix typo in description. testsuite/ * c-c++-common/goacc/host_data-2.c (f): Adjust expected spelling of diagnostics. * gfortran.dg/initialization_17.f90: Likewise. From-SVN: r244245 --- gcc/config/avr/avr.md | 2 +- gcc/config/avr/avr.opt | 2 +- gcc/config/i386/i386.c | 2 +- gcc/config/i386/xopintrin.h | 2 +- gcc/config/i386/znver1.md | 2 +- gcc/config/msp430/driver-msp430.c | 2 +- gcc/config/msp430/msp430.c | 18 ++++++++++++------ gcc/config/msp430/msp430.opt | 2 +- gcc/config/nios2/nios2.c | 2 +- gcc/config/rs6000/rs6000-c.c | 2 +- gcc/config/rs6000/rs6000.c | 2 +- gcc/config/s390/s390.c | 2 +- gcc/config/sh/superh.h | 2 +- 13 files changed, 24 insertions(+), 18 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md index 4d8e391..256b2b6 100644 --- a/gcc/config/avr/avr.md +++ b/gcc/config/avr/avr.md @@ -6284,7 +6284,7 @@ [(set_attr "length" "2") (set_attr "cc" "none")]) -;; Swap Bytes (change byte-endianess) +;; Swap Bytes (change byte-endianness) (define_expand "bswapsi2" [(set (reg:SI 22) diff --git a/gcc/config/avr/avr.opt b/gcc/config/avr/avr.opt index 9151872..a1edec9 100644 --- a/gcc/config/avr/avr.opt +++ b/gcc/config/avr/avr.opt @@ -76,7 +76,7 @@ Make the linker relaxation machine assume that a program counter wrap-around occ maccumulate-args Target Report Mask(ACCUMULATE_OUTGOING_ARGS) -Accumulate outgoing function arguments and acquire/release the needed stack space for outpoing function arguments in function prologue/epilogue. Without this option, outgoing arguments are pushed before calling a function and popped afterwards. This option can lead to reduced code size for functions that call many functions that get their arguments on the stack like, for example printf. +Accumulate outgoing function arguments and acquire/release the needed stack space for outgoing function arguments in function prologue/epilogue. Without this option, outgoing arguments are pushed before calling a function and popped afterwards. This option can lead to reduced code size for functions that call many functions that get their arguments on the stack like, for example printf. mstrict-X Target Report Var(avr_strict_X) Init(0) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 3ad021a..b173b89 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -10390,7 +10390,7 @@ function_value_32 (machine_mode orig_mode, machine_mode mode, int sse_level = ix86_function_sseregparm (fntype, fn, false); if (sse_level == -1) { - error ("calling %qD with SSE caling convention without " + error ("calling %qD with SSE calling convention without " "SSE/SSE2 enabled", fn); sorry ("this is a GCC bug that can be worked around by adding " "attribute used to function called"); diff --git a/gcc/config/i386/xopintrin.h b/gcc/config/i386/xopintrin.h index 447799c..3a83e24 100644 --- a/gcc/config/i386/xopintrin.h +++ b/gcc/config/i386/xopintrin.h @@ -36,7 +36,7 @@ #define __DISABLE_XOP__ #endif /* __XOP__ */ -/* Integer multiply/add intructions. */ +/* Integer multiply/add instructions. */ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_maccs_epi16(__m128i __A, __m128i __B, __m128i __C) { diff --git a/gcc/config/i386/znver1.md b/gcc/config/i386/znver1.md index 990a70d..8ea6d09 100644 --- a/gcc/config/i386/znver1.md +++ b/gcc/config/i386/znver1.md @@ -120,7 +120,7 @@ (eq_attr "type" "leave")) "znver1-double,znver1-ieu, znver1-store") -;; Integer Instructions or General intructions +;; Integer Instructions or General instructions ;; Multiplications ;; Reg operands (define_insn_reservation "znver1_imul" 3 diff --git a/gcc/config/msp430/driver-msp430.c b/gcc/config/msp430/driver-msp430.c index 9ae3f57..37ce669 100644 --- a/gcc/config/msp430/driver-msp430.c +++ b/gcc/config/msp430/driver-msp430.c @@ -684,7 +684,7 @@ msp430_select_hwmult_lib (int argc ATTRIBUTE_UNUSED, const char ** argv ATTRIBUT case 4: return "-lmul_32"; case 8: return "-lmul_f5"; default: - error ("unrecognised hwpy field in msp430_mcu_data[%d]: %d", + error ("unrecognized hwpy field in msp430_mcu_data[%d]: %d", i, msp430_mcu_data[i].hwmpy); break; } diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index d2a9e6b..fa2dbc2 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c @@ -809,11 +809,16 @@ msp430_option_override (void) { if (target_cpu == NULL) warning (0, - "Unrecognised MCU name '%s', assuming that it is just a MSP430 with no hardware multiply.\nUse the -mcpu and -mhwmult options to set these explicitly.", + "Unrecognized MCU name '%s', assuming that it is " + "just a MSP430 with no hardware multiply.\n" + "Use the -mcpu and -mhwmult options to set " + "these explicitly.", target_mcu); else warning (0, - "Unrecognised MCU name '%s', assuming that it has no hardware multiply.\nUse the -mhwmult option to set this explicitly.", + "Unrecognized MCU name '%s', assuming that it " + "has no hardware multiply.\nUse the -mhwmult " + "option to set this explicitly.", target_mcu); } @@ -823,14 +828,15 @@ msp430_option_override (void) { if (msp430_warn_mcu) warning (0, - "Unrecognised MCU name '%s', assuming that it just supports the MSP430 ISA.\nUse the -mcpu option to set the ISA explicitly.", + "Unrecognized MCU name '%s', assuming that it just " + "supports the MSP430 ISA.\nUse the -mcpu option to " + "set the ISA explicitly.", target_mcu); msp430x = false; } else if (msp430_warn_mcu) - warning (0, - "Unrecognised MCU name '%s'.", target_mcu); + warning (0, "Unrecognized MCU name '%s'.", target_mcu); } } @@ -1851,7 +1857,7 @@ msp430_attr (tree * node, /* Allow the attribute to be added - the linker script being used may still recognise this name. */ warning (OPT_Wattributes, - "unrecognised interrupt vector argument of %qE attribute", + "unrecognized interrupt vector argument of %qE attribute", name); break; diff --git a/gcc/config/msp430/msp430.opt b/gcc/config/msp430/msp430.opt index bc42723..c027201 100644 --- a/gcc/config/msp430/msp430.opt +++ b/gcc/config/msp430/msp430.opt @@ -12,7 +12,7 @@ Specify the MCU to build for. mwarn-mcu Target Report Var(msp430_warn_mcu) Init(1) -Warn if an MCU name is unrecognised or conflicts with other options (default: on). +Warn if an MCU name is unrecognized or conflicts with other options (default: on). mcpu= Target Report Joined RejectNegative Var(target_cpu) diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index c28471f..e1b0372 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -3818,7 +3818,7 @@ nios2_valid_target_attribute_rec (tree args) } else { - error ("% is not recognised as FPU instruction", + error ("% is not recognized as FPU instruction", argstr + 7); return false; } diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c index 0ab25ec..b928547 100644 --- a/gcc/config/rs6000/rs6000-c.c +++ b/gcc/config/rs6000/rs6000-c.c @@ -6000,7 +6000,7 @@ altivec_resolve_overloaded_builtin (location_t loc, tree fndecl, { if (TYPE_READONLY (TREE_TYPE (type)) && !TYPE_READONLY (TREE_TYPE (decl_type))) - warning (0, "passing arg %d of %qE discards qualifiers from" + warning (0, "passing arg %d of %qE discards qualifiers from " "pointer target type", n + 1, fndecl); type = build_pointer_type (build_qualified_type (TREE_TYPE (type), 0)); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index fe85873..02b521c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -38525,7 +38525,7 @@ rs6000_asan_shadow_offset (void) /* Mask options that we want to support inside of attribute((target)) and #pragma GCC target operations. Note, we do not include things like - 64/32-bit, endianess, hard/soft floating point, etc. that would have + 64/32-bit, endianness, hard/soft floating point, etc. that would have different calling sequences. */ struct rs6000_opt_mask { diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 9bd98eb..bfb2865 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -15371,7 +15371,7 @@ s390_invalid_binary_op (int op ATTRIBUTE_UNUSED, const_tree type1, const_tree ty operators. */ if (!bool1_p && !bool2_p && TYPE_UNSIGNED (type1) != TYPE_UNSIGNED (type2)) - return N_("types differ in signess"); + return N_("types differ in signedness"); plusminus_p = (op == PLUS_EXPR || op == MINUS_EXPR); muldiv_p = (op == MULT_EXPR || op == RDIV_EXPR || op == TRUNC_DIV_EXPR diff --git a/gcc/config/sh/superh.h b/gcc/config/sh/superh.h index 3fbd4f0..4f7ed3a 100644 --- a/gcc/config/sh/superh.h +++ b/gcc/config/sh/superh.h @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see /* This header file is used when the vendor name is set to 'superh'. config.gcc already configured the compiler for SH4 only and switched - the default endianess to little (although big endian is still available). + the default endianness to little (although big endian is still available). This file configures the spec file to the default board configuration but in such a way that it can be overridden by a boardspecs file (using the -specs= option). This file is expected to disable the -- cgit v1.1