From 63d42e89be8d5d2c22bff29981cdd419c4beb4a3 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 11 Mar 2019 21:56:07 +0100 Subject: [PATCH] Fix double string quoting. 2019-03-11 Martin Liska * config/aarch64/aarch64.c (aarch64_override_options_internal): Fix double string quoting. From-SVN: r269595 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61e23a645b1..2d087534917 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-03-11 Martin Liska + + * config/aarch64/aarch64.c (aarch64_override_options_internal): + Fix double string quoting. + 2019-03-11 Martin Liska * collect-utils.c (collect_wait): Wrap apostrophes diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 252bed7f0e5..b38505b0872 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -11455,7 +11455,7 @@ aarch64_override_options_internal (struct gcc_options *opts) && opts->x_aarch64_stack_protector_guard_offset_str) { error ("incompatible options %<-mstack-protector-guard=global%> and" - "%<-mstack-protector-guard-offset=%qs%>", + "%<-mstack-protector-guard-offset=%s%>", aarch64_stack_protector_guard_offset_str); } @@ -11482,7 +11482,7 @@ aarch64_override_options_internal (struct gcc_options *opts) long offs = strtol (aarch64_stack_protector_guard_offset_str, &end, 0); if (!*str || *end || errno) error ("%qs is not a valid offset in %qs", str, - "%<-mstack-protector-guard-offset=%>"); + "-mstack-protector-guard-offset="); aarch64_stack_protector_guard_offset = offs; } -- 2.30.2