aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family
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/c-family
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/c-family')
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c-warn.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 27bdd2d..0930511 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-17 Martin Liska <mliska@suse.cz>
+
+ * c-warn.c (overflow_warning): Do not use
+ space in between 'G_' and '('.
+
2018-05-09 Jason Merrill <jason@redhat.com>
* c-common.c (valid_array_size_p): Add complain parameter.
diff --git a/gcc/c-family/c-warn.c b/gcc/c-family/c-warn.c
index d0d9c78..2614eb5 100644
--- a/gcc/c-family/c-warn.c
+++ b/gcc/c-family/c-warn.c
@@ -98,10 +98,10 @@ overflow_warning (location_t loc, tree value, tree expr)
case REAL_CST:
warnfmt = (expr
- ? G_ ("floating point overflow in expression %qE "
- "of type %qT results in %qE")
- : G_ ("floating point overflow in expression of type %qT "
- "results in %qE"));
+ ? G_("floating point overflow in expression %qE "
+ "of type %qT results in %qE")
+ : G_("floating point overflow in expression of type %qT "
+ "results in %qE"));
break;
case FIXED_CST: