diff options
author | Martin Liska <mliska@suse.cz> | 2022-03-07 11:25:18 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-03-07 11:38:18 +0100 |
commit | fcc48d2ed6b621f7d0c141afed81a4922c056039 (patch) | |
tree | a32e62d3ab3c862115de294f02a07842fe7d4ed7 /gcc/config | |
parent | cfb46c944e8a05653c7eedd79116dae9ce7ad91c (diff) | |
download | gcc-fcc48d2ed6b621f7d0c141afed81a4922c056039.zip gcc-fcc48d2ed6b621f7d0c141afed81a4922c056039.tar.gz gcc-fcc48d2ed6b621f7d0c141afed81a4922c056039.tar.bz2 |
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.
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc index c1103d9..4bf1ef0 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 |