]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: use quotes when referring to command-line options [PR90160]
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 4 Dec 2024 13:40:34 +0000 (08:40 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 4 Dec 2024 13:40:34 +0000 (08:40 -0500)
gcc/ChangeLog:
PR translation/90160
* config/arm/arm.cc (arm_option_check_internal): Use quotes in
messages that refer to command-line options.  Tweak wording.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/config/arm/arm.cc

index 7f82fb94a56a7cd57eab5de068a99da9e46a1bb4..4ee6fc9d6700587684e180563d3e8c768a626486 100644 (file)
@@ -3012,17 +3012,17 @@ arm_option_check_internal (struct gcc_options *opts)
       /* We only support -mslow-flash-data on M-profile targets with
         MOVT.  */
       if (target_slow_flash_data && (!TARGET_HAVE_MOVT || common_unsupported_modes))
-       error ("%s only supports non-pic code on M-profile targets with the "
+       error ("%qs only supports non-pic code on M-profile targets with the "
               "MOVT instruction", flag);
 
       /* We only support -mpure-code on M-profile targets.  */
       if (target_pure_code && common_unsupported_modes)
-       error ("%s only supports non-pic code on M-profile targets", flag);
+       error ("%qs only supports non-pic code on M-profile targets", flag);
 
       /* Cannot load addresses: -mslow-flash-data forbids literal pool and
         -mword-relocations forbids relocation of MOVT/MOVW.  */
       if (target_word_relocations)
-       error ("%s incompatible with %<-mword-relocations%>", flag);
+       error ("%qs is incompatible with %<-mword-relocations%>", flag);
     }
 }