projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99a6eb
)
d: Fix -Werror=format-diag error.
author
Martin Liska
<mliska@suse.cz>
Mon, 31 Jan 2022 08:49:41 +0000
(09:49 +0100)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/gcc/d/decl.cc
b/gcc/d/decl.cc
index
5ecc626
..
b08d797
100644
(file)
--- 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);