[gcc r12-7511] Fix translation strings.

Martin Liska marxin@gcc.gnu.org
Mon Mar 7 09:41:59 GMT 2022


https://gcc.gnu.org/g:d73ae7a72a9bcac6a8b031cd902630eaeddf577e

commit r12-7511-gd73ae7a72a9bcac6a8b031cd902630eaeddf577e
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Mar 7 10:41:11 2022 +0100

    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.

Diff:
---
 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 7afbc295e03..3afe78f5d04 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 52e5f4ed39e..2b92185a655 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 fe28b8269ef..10a4fc597ba 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%> <dir> option not passed from the gcc driver");
+		 "%<-iplugindir <dir>%> option not passed from the gcc driver");
   return plugindir_string;
 }


More information about the Gcc-cvs mailing list