diff mbox

[4/7] clean up quoting problems - config/i386 (PR 80280 et al.)

Message ID c1cfb7a2-1ecc-29c6-a0f2-6e58bfe22e58@gmail.com
State New
Headers show

Commit Message

Martin Sebor May 3, 2017, 2:37 a.m. UTC
The attached patch adds missing quoting to diagnostic directives
in files in the config/i386 directory.

Martin
diff mbox

Patch

gcc/ChangeLog:

	* config/i386/i386.c (ix86_function_versions): Quote a %D directive.

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index d985657..450f9b0 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -33050,10 +33050,10 @@  ix86_function_versions (tree fn1, tree fn2)
 	      attr1 = attr2;
 	    }
 	  error_at (DECL_SOURCE_LOCATION (fn2),
-		    "missing %<target%> attribute for multi-versioned %D",
+		    "missing %<target%> attribute for multi-versioned %qD",
 		    fn2);
 	  inform (DECL_SOURCE_LOCATION (fn1),
-		  "previous declaration of %D", fn1);
+		  "previous declaration of %qD", fn1);
 	  /* Prevent diagnosing of the same error multiple times.  */
 	  DECL_ATTRIBUTES (fn2)
 	    = tree_cons (get_identifier ("target"),