]> gcc.gnu.org Git - gcc.git/commitdiff
Darwin: Fix wrong quoting on an error string (PR93860).
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 21 Feb 2020 20:12:39 +0000 (20:12 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 21 Feb 2020 20:12:39 +0000 (20:12 +0000)
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.

gcc/ChangeLog
gcc/config/darwin-c.c

index cb28cd65b58da2644d0e1a8627bdfc47bdc2446a..76fea56d81438deaa64db0c5d0d62a21e82ecc9d 100644 (file)
@@ -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):
index 85d775f056a0ad48298eb749a8119e9941121b20..e3b999e166b28f8ca1c2b74ca6bbe5db7e8ee1ae 100644 (file)
@@ -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.  */
This page took 0.060403 seconds and 5 git commands to generate.