From d73ae7a72a9bcac6a8b031cd902630eaeddf577e Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 7 Mar 2022 10:41:11 +0100 Subject: [PATCH] Fix translation strings. PR translation/90148 gcc/ChangeLog: * config/rs6000/rs6000.cc (rs6000_linux64_override_options): Put quote to a proper place. * plugin.cc (default_plugin_dir_name): Likewise. gcc/fortran/ChangeLog: * intrinsic.cc (gfc_is_intrinsic): Put quote to a proper place. --- gcc/config/rs6000/rs6000.cc | 2 +- gcc/fortran/intrinsic.cc | 2 +- gcc/plugin.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 7afbc29..3afe78f 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -3512,7 +3512,7 @@ rs6000_linux64_override_options () { if (OPTION_SET_P (rs6000_current_cmodel) && rs6000_current_cmodel != CMODEL_SMALL) - error ("%<-mcmodel incompatible with other toc options%>"); + error ("%<-mcmodel%> incompatible with other toc options"); if (TARGET_MINIMAL_TOC) SET_CMODEL (CMODEL_SMALL); else if (TARGET_PCREL diff --git a/gcc/fortran/intrinsic.cc b/gcc/fortran/intrinsic.cc index 52e5f4e..2b92185 100644 --- a/gcc/fortran/intrinsic.cc +++ b/gcc/fortran/intrinsic.cc @@ -1184,7 +1184,7 @@ gfc_is_intrinsic (gfc_symbol* sym, int subroutine_flag, locus loc) gfc_warning_now (OPT_Wintrinsics_std, "The intrinsic %qs at %L is not " "included in the selected standard but %s and %qs will" " be treated as if declared EXTERNAL. Use an" - " appropriate %<-std=%>* option or define" + " appropriate %<-std=*%> option or define" " %<-fall-intrinsics%> to allow this intrinsic.", sym->name, &loc, symstd, sym->name); diff --git a/gcc/plugin.cc b/gcc/plugin.cc index fe28b82..10a4fc5 100644 --- a/gcc/plugin.cc +++ b/gcc/plugin.cc @@ -1006,6 +1006,6 @@ default_plugin_dir_name (void) { if (!plugindir_string) fatal_error (input_location, - "%<-iplugindir%> option not passed from the gcc driver"); + "%<-iplugindir %> option not passed from the gcc driver"); return plugindir_string; } -- 2.7.4