From 147add96091790d5c1d8eb938f84ea775ad81b84 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 21 Feb 2020 20:12:39 +0000 Subject: [PATCH] Darwin: Fix wrong quoting on an error string (PR93860). The quotes should surround all of the literal content from the pragma that has incorrect usage. 2020-02-21 Iain Sandoe PR target/93860 * config/darwin-c.c (pop_field_alignment): Adjust quoting of error string. --- gcc/ChangeLog | 6 ++++++ gcc/config/darwin-c.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb28cd65b58..76fea56d814 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-02-21 Iain Sandoe + + PR target/93860 + * config/darwin-c.c (pop_field_alignment): Adjust quoting of + error string. + 2020-02-21 Mihail Ionescu * doc/sourcebuild.texi (arm_v8_1m_mve_ok): diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index 85d775f056a..e3b999e166b 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -79,7 +79,7 @@ pop_field_alignment (void) free (entry); } else - error ("too many %<#pragma options%> align=reset"); + error ("too many %<#pragma options align=reset%>"); } /* Handlers for Darwin-specific pragmas. */ -- 2.30.2