public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7515] arm: fix option quoting in error messages.
@ 2022-03-07 10:38 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-03-07 10:38 UTC (permalink / raw)
  To: gcc-cvs

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

commit r12-7515-gfcc48d2ed6b621f7d0c141afed81a4922c056039
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Mar 7 11:25:18 2022 +0100

    arm: fix option quoting in error messages.
    
            PR target/104794
    
    gcc/ChangeLog:
    
            * config/arm/arm.cc (arm_option_override_internal): Fix quoting
            of options in error messages.
            (arm_option_reconfigure_globals): Likewise.

Diff:
---
 gcc/config/arm/arm.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc
index c1103d9fad6..4bf1ef0517d 100644
--- a/gcc/config/arm/arm.cc
+++ b/gcc/config/arm/arm.cc
@@ -3185,8 +3185,8 @@ arm_option_override_internal (struct gcc_options *opts,
   if (arm_stack_protector_guard == SSP_GLOBAL
       && opts->x_arm_stack_protector_guard_offset_str)
     {
-      error ("incompatible options %'-mstack-protector-guard=global%' and"
-	     "%'-mstack-protector-guard-offset=%qs%'",
+      error ("incompatible options %<-mstack-protector-guard=global%> and"
+	     "%<-mstack-protector-guard-offset=%s%>",
 	     arm_stack_protector_guard_offset_str);
     }
 
@@ -3880,7 +3880,7 @@ arm_option_reconfigure_globals (void)
     }
 
   if (!TARGET_HARD_TP && arm_stack_protector_guard == SSP_TLSREG)
-    error("%'-mstack-protector-guard=tls%' needs a hardware TLS register");
+    error("%<-mstack-protector-guard=tls%> needs a hardware TLS register");
 }
 
 /* Perform some validation between the desired architecture and the rest of the


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-07 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 10:38 [gcc r12-7515] arm: fix option quoting in error messages Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).