d: Fix -Werror=format-diag error.
authorMartin Liska <mliska@suse.cz>
Mon, 31 Jan 2022 08:49:41 +0000 (09:49 +0100)
committerMartin Liska <mliska@suse.cz>
Mon, 31 Jan 2022 08:49:41 +0000 (09:49 +0100)
PR d/104287

gcc/d/ChangeLog:

* decl.cc (d_finish_decl): Remove trailing dot.

gcc/d/decl.cc

index 5ecc626..b08d797 100644 (file)
@@ -1598,7 +1598,7 @@ d_finish_decl (tree decl)
          tree name = DECL_ASSEMBLER_NAME (decl);
 
          internal_error ("mismatch between declaration %qE size (%wd) and "
-                         "its initializer size (%wd).",
+                         "its initializer size (%wd)",
                          IDENTIFIER_PRETTY_NAME (name)
                          ? IDENTIFIER_PRETTY_NAME (name) : name,
                          tsize, dtsize);