public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6941] d: Fix -Werror=format-diag error.
@ 2022-01-31  8:51 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-01-31  8:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e97cfaa9f61429f6717fd35d73309b02f9c02e95

commit r12-6941-ge97cfaa9f61429f6717fd35d73309b02f9c02e95
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Jan 31 09:49:41 2022 +0100

    d: Fix -Werror=format-diag error.
    
            PR d/104287
    
    gcc/d/ChangeLog:
    
            * decl.cc (d_finish_decl): Remove trailing dot.

Diff:
---
 gcc/d/decl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/d/decl.cc b/gcc/d/decl.cc
index 5ecc6269780..b08d797c851 100644
--- a/gcc/d/decl.cc
+++ b/gcc/d/decl.cc
@@ -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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-31  8:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31  8:51 [gcc r12-6941] d: Fix -Werror=format-diag error Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).