The quotes should surround all of the literal content from the pragma
that has incorrect usage.

Fixed as below,
tested on x86_64-apple-darwin16,
applied to master,
thanks
Iain

2020-02-21  Iain Sandoe  <i...@sandoe.co.uk>

        PR target/93860
        * config/darwin-c.c (pop_field_alignment): Adjust quoting of
        error string.

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.  */

Reply via email to