public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ibm/heads/perf)] Darwin: Fix wrong quoting on an error string (PR93860).
@ 2020-03-19  5:47 Jiu Fu Guo
  0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2020-03-19  5:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:147add96091790d5c1d8eb938f84ea775ad81b84

commit 147add96091790d5c1d8eb938f84ea775ad81b84
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Feb 21 20:12:39 2020 +0000

    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  <iain@sandoe.co.uk>
    
    PR target/93860
    * config/darwin-c.c (pop_field_alignment): Adjust quoting of
    error string.

Diff:
---
 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  <iain@sandoe.co.uk>
+
+	PR target/93860
+	* config/darwin-c.c (pop_field_alignment): Adjust quoting of
+	error string.
+
 2020-02-21  Mihail Ionescu  <mihail.ionescu@arm.com>
 
 	* 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.  */


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

only message in thread, other threads:[~2020-03-19  5:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19  5:47 [gcc(refs/vendors/ibm/heads/perf)] Darwin: Fix wrong quoting on an error string (PR93860) Jiu Fu Guo

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).