Darwin: Fix wrong quoting on an error string (PR93860).

Message ID B9A73E28-FB51-4D76-B69C-4FE1B715D97D@sandoe.co.uk
State New
Headers show
Series
  • Darwin: Fix wrong quoting on an error string (PR93860).
Related show

Commit Message

Iain Sandoe Feb. 21, 2020, 8:14 p.m.
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  <iain@sandoe.co.uk>

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

Patch

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