aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-03-07 10:41:11 +0100
committerMartin Liska <mliska@suse.cz>2022-03-07 10:41:11 +0100
commitd73ae7a72a9bcac6a8b031cd902630eaeddf577e (patch)
tree58d10699a5ab75f0b7d7324e8f02576c9884debd /gcc
parent024bdd2262c60f35cde8c860040d6d0cbb5c7b6e (diff)
downloadgcc-d73ae7a72a9bcac6a8b031cd902630eaeddf577e.zip
gcc-d73ae7a72a9bcac6a8b031cd902630eaeddf577e.tar.gz
gcc-d73ae7a72a9bcac6a8b031cd902630eaeddf577e.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.cc2
-rw-r--r--gcc/fortran/intrinsic.cc2
-rw-r--r--gcc/plugin.cc2
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%> <dir> option not passed from the gcc driver");
+ "%<-iplugindir <dir>%> option not passed from the gcc driver");
return plugindir_string;
}