diff options
author | Martin Liska <mliska@suse.cz> | 2019-04-05 10:37:44 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-04-05 08:37:44 +0000 |
commit | 904f3daa028eea44c6a591fb1ac746ee81c72be1 (patch) | |
tree | cf8126bdefb6a0be9b1636a06ee491b90f1ab6a0 /gcc/config/msp430/msp430.c | |
parent | 8d6b13da61aabc7c55d858ee3fd7ae22798d6a61 (diff) | |
download | gcc-904f3daa028eea44c6a591fb1ac746ee81c72be1.zip gcc-904f3daa028eea44c6a591fb1ac746ee81c72be1.tar.gz gcc-904f3daa028eea44c6a591fb1ac746ee81c72be1.tar.bz2 |
Remove usage of apostrophes in error and warning messages (PR translation/89935).
2019-04-05 Martin Liska <mliska@suse.cz>
PR translation/89935
* check-internal-format-escaping.py: Properly detect wrong
apostrophes.
2019-04-05 Martin Liska <mliska@suse.cz>
PR translation/89935
* collect-utils.c (collect_execute): Use %< and %>, or %qs in
order to wrap keywords or arguments.
* collect2.c (main): Likewise.
(scan_prog_file): Likewise.
(scan_libraries): Likewise.
* common/config/riscv/riscv-common.c (riscv_subset_list::parsing_subset_version): Likewise.
(riscv_subset_list::parse_std_ext): Likewise.
* config/aarch64/aarch64.c (aarch64_override_options_internal): Likewise.
* config/arm/arm.c (arm_option_override): Likewise.
* config/cris/cris.c (cris_print_operand): Likewise.
* config/darwin-c.c (darwin_pragma_options): Likewise.
(darwin_pragma_unused): Likewise.
(darwin_pragma_ms_struct): Likewise.
* config/ft32/ft32.c (ft32_print_operand): Likewise.
* config/i386/i386.c (print_reg): Likewise.
(ix86_print_operand): Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/iq2000/iq2000.c (iq2000_print_operand): Likewise.
* config/m32c/m32c.c (m32c_option_override): Likewise.
* config/msp430/msp430.c (msp430_option_override): Likewise.
* config/nds32/nds32.c (nds32_option_override): Likewise.
* config/nvptx/mkoffload.c (main): Likewise.
* config/rx/rx.c (rx_print_operand): Likewise.
(valid_psw_flag): Likewise.
* config/vms/vms-c.c (vms_pragma_member_alignment): Likewise.
(vms_pragma_nomember_alignment): Likewise.
(vms_pragma_extern_model): Likewise.
* lto-wrapper.c (compile_offload_image): Likewise.
* omp-offload.c (oacc_parse_default_dims): Likewise.
* symtab.c (symtab_node::verify_base): Likewise.
* tlink.c (recompile_files): Likewise.
(start_tweaking): Likewise.
* tree-profile.c (parse_profile_filter): Likewise.
2019-04-05 Martin Liska <mliska@suse.cz>
PR translation/89935
* objc-act.c (objc_add_property_declaration): Use %< and %>, or %qs in
order to wrap keywords or arguments.
(objc_add_synthesize_declaration_for_property): Likewise.
From-SVN: r270163
Diffstat (limited to 'gcc/config/msp430/msp430.c')
-rw-r--r-- | gcc/config/msp430/msp430.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index 48d16a4..020e980 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c @@ -797,14 +797,14 @@ msp430_option_override (void) if (msp430_warn_mcu) { if (target_cpu&& msp430x != xisa) - warning (0, "MCU '%s' supports %s ISA but %<-mcpu%> option " + warning (0, "MCU %qs supports %s ISA but %<-mcpu%> option " "is set to %s", target_mcu, xisa ? "430X" : "430", msp430x ? "430X" : "430"); if (msp430_mcu_data[i].hwmpy == 0 && msp430_hwmult_type != MSP430_HWMULT_AUTO && msp430_hwmult_type != MSP430_HWMULT_NONE) - warning (0, "MCU '%s' does not have hardware multiply " + warning (0, "MCU %qs does not have hardware multiply " "support, but %<-mhwmult%> is set to %s", target_mcu, msp430_hwmult_type == MSP430_HWMULT_SMALL ? "16-bit" @@ -812,15 +812,15 @@ msp430_option_override (void) else if (msp430_hwmult_type == MSP430_HWMULT_SMALL && msp430_mcu_data[i].hwmpy != 1 && msp430_mcu_data[i].hwmpy != 2 ) - warning (0, "MCU '%s' supports %s hardware multiply, " + warning (0, "MCU %qs supports %s hardware multiply, " "but %<-mhwmult%> is set to 16-bit", target_mcu, hwmult_name (msp430_mcu_data[i].hwmpy)); else if (msp430_hwmult_type == MSP430_HWMULT_LARGE && msp430_mcu_data[i].hwmpy != 4) - warning (0, "MCU '%s' supports %s hardware multiply, " + warning (0, "MCU %qs supports %s hardware multiply, " "but %<-mhwmult%> is set to 32-bit", target_mcu, hwmult_name (msp430_mcu_data[i].hwmpy)); else if (msp430_hwmult_type == MSP430_HWMULT_F5SERIES && msp430_mcu_data[i].hwmpy != 8) - warning (0, "MCU '%s' supports %s hardware multiply, " + warning (0, "MCU %qs supports %s hardware multiply, " "but %<-mhwmult%> is set to f5series", target_mcu, hwmult_name (msp430_mcu_data[i].hwmpy)); } @@ -837,14 +837,14 @@ msp430_option_override (void) { if (target_cpu == NULL) warning (0, - "Unrecognized MCU name '%s', assuming that it is " + "Unrecognized MCU name %qs, 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, - "Unrecognized MCU name '%s', assuming that it " + "Unrecognized MCU name %qs, assuming that it " "has no hardware multiply.\nUse the %<-mhwmult%> " "option to set this explicitly.", target_mcu); @@ -856,7 +856,7 @@ msp430_option_override (void) { if (msp430_warn_mcu) warning (0, - "Unrecognized MCU name '%s', assuming that it just " + "Unrecognized MCU name %qs, assuming that it just " "supports the MSP430 ISA.\nUse the %<-mcpu%> option " "to set the ISA explicitly.", target_mcu); @@ -864,7 +864,7 @@ msp430_option_override (void) msp430x = false; } else if (msp430_warn_mcu) - warning (0, "Unrecognized MCU name '%s'.", target_mcu); + warning (0, "Unrecognized MCU name %qs.", target_mcu); } } |