[Bug target/79868] aarch64: diagnostic "malformed target %s value" not translateable

fmarchal at perso dot be gcc-bugzilla@gcc.gnu.org
Sun Sep 17 18:34:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79868

--- Comment #7 from Frederic Marchal <fmarchal at perso dot be> ---
I think there is an error here:

@@ -9938,7 +9978,7 @@ aarch64_process_target_attr (tree args, const char*
pragma_or_attr)

   if (len == 0)
     {
-      error ("malformed target %s value", pragma_or_attr);
+      error ("malformed target %s value", is_pragma);

You should probably have two strings like you did in every other instance:

   if (is_pragma)
      error ("malformed target pragma value");
   else
      error ("malformed target attribute value");

Everything else looks good to me (I'm the current French translator).


More information about the Gcc-bugs mailing list