aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2007-01-05 21:41:32 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2007-01-05 21:41:32 +0000
commitc2658540a35254dd462e104abf9cf8b7bdb68113 (patch)
tree9f1069f85433c261d149c23ebd9c3bb130612ccd /gcc
parenta30187538a72dc5784b02a327a063637c2d20886 (diff)
downloadgcc-c2658540a35254dd462e104abf9cf8b7bdb68113.zip
gcc-c2658540a35254dd462e104abf9cf8b7bdb68113.tar.gz
gcc-c2658540a35254dd462e104abf9cf8b7bdb68113.tar.bz2
c-typeck.c (store_init_value): Split over two lines to follow the GNU coding style.
2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * c-typeck.c (store_init_value): Split over two lines to follow the GNU coding style. From-SVN: r120504
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-typeck.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f80eeb7..5838242 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ * c-typeck.c (store_init_value): Split over two lines to follow
+ the GNU coding style.
+
2007-01-05 Benjamin Kosnik <bkoz@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): __GXX_EXPERIMENTAL_CPP0X__ to
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 28d023d..e8e2f69 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -4292,7 +4292,8 @@ store_init_value (tree decl, tree init)
/* ANSI wants warnings about out-of-range constant initializers. */
STRIP_TYPE_NOPS (value);
- if (TREE_STATIC (decl)) constant_expression_warning (value);
+ if (TREE_STATIC (decl))
+ constant_expression_warning (value);
/* Check if we need to set array size from compound literal size. */
if (TREE_CODE (type) == ARRAY_TYPE