Commit 8a22feb6 by Jakub Jelinek Committed by Jakub Jelinek

re PR translation/90011 (trailing space in diagnostic)

	PR translation/90011
	* typeck2.c (check_narrowing): Remove trailing space from diagnostics.

From-SVN: r270229
parent e009dfb3
2019-04-09 Jakub Jelinek <jakub@redhat.com>
PR translation/90011
* typeck2.c (check_narrowing): Remove trailing space from diagnostics.
2019-04-08 Marek Polacek <polacek@redhat.com> 2019-04-08 Marek Polacek <polacek@redhat.com>
* typeck2.c (digest_init_r): Don't condition the object slicing warning * typeck2.c (digest_init_r): Don't condition the object slicing warning
......
...@@ -1019,7 +1019,7 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain, bool const_only) ...@@ -1019,7 +1019,7 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain, bool const_only)
int savederrorcount = errorcount; int savederrorcount = errorcount;
global_dc->pedantic_errors = 1; global_dc->pedantic_errors = 1;
pedwarn (loc, OPT_Wnarrowing, pedwarn (loc, OPT_Wnarrowing,
"narrowing conversion of %qE from %qH to %qI ", "narrowing conversion of %qE from %qH to %qI",
init, ftype, type); init, ftype, type);
if (errorcount == savederrorcount) if (errorcount == savederrorcount)
ok = true; ok = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment