aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-sprintf.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-05-17 12:44:01 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-05-17 10:44:01 +0000
commit40659769b2b49e5ebea3ceee26ee73bdc0ff1efc (patch)
treef4de68055589fb28240947d783d8ee0347d3fd94 /gcc/gimple-ssa-sprintf.c
parent78b9544b333e58b7ceedd8dc42412c199c647e16 (diff)
downloadgcc-40659769b2b49e5ebea3ceee26ee73bdc0ff1efc.zip
gcc-40659769b2b49e5ebea3ceee26ee73bdc0ff1efc.tar.gz
gcc-40659769b2b49e5ebea3ceee26ee73bdc0ff1efc.tar.bz2
Fix GNU coding style for G_.
2018-05-17 Martin Liska <mliska@suse.cz> * gimple-ssa-sprintf.c (format_directive): Do not use space in between 'G_' and '('. 2018-05-17 Martin Liska <mliska@suse.cz> * c-warn.c (overflow_warning): Do not use space in between 'G_' and '('. 2018-05-17 Martin Liska <mliska@suse.cz> * gcc.dg/plugin/ggcplug.c (plugin_init): Do not use space in between 'G_' and '('. From-SVN: r260314
Diffstat (limited to 'gcc/gimple-ssa-sprintf.c')
-rw-r--r--gcc/gimple-ssa-sprintf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/gimple-ssa-sprintf.c b/gcc/gimple-ssa-sprintf.c
index 4ec5860..ec5e704 100644
--- a/gcc/gimple-ssa-sprintf.c
+++ b/gcc/gimple-ssa-sprintf.c
@@ -2933,12 +2933,12 @@ format_directive (const sprintf_dom_walker::call_info &info,
else
warned = fmtwarn (dirloc, argloc, NULL, info.warnopt (),
fmtres.range.min > target_int_max ()
- ? G_ ("%<%.*s%> directive output between %wu and "
- "%wu bytes causes result to exceed "
- "%<INT_MAX%>")
- : G_ ("%<%.*s%> directive output between %wu and "
- "%wu bytes may cause result to exceed "
- "%<INT_MAX%>"), dirlen,
+ ? G_("%<%.*s%> directive output between %wu and "
+ "%wu bytes causes result to exceed "
+ "%<INT_MAX%>")
+ : G_("%<%.*s%> directive output between %wu and "
+ "%wu bytes may cause result to exceed "
+ "%<INT_MAX%>"), dirlen,
target_to_host (hostdir, sizeof hostdir, dir.beg),
fmtres.range.min, fmtres.range.max);
}