summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-05 21:41:32 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-05 21:41:32 +0000
commit67e05044e3bab06d9852ace68c499ce048ecb00d (patch)
tree9f1069f85433c261d149c23ebd9c3bb130612ccd
parent1372ec9a4daa00eac74c0a23c95ca828dbbb6912 (diff)
downloadppe42-gcc-67e05044e3bab06d9852ace68c499ce048ecb00d.tar.gz
ppe42-gcc-67e05044e3bab06d9852ace68c499ce048ecb00d.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120504 138bc75d-0d04-0410-961f-82ee72b054a4
-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 f80eeb7d305..5838242a17e 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 28d023de552..e8e2f6944ac 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
OpenPOWER on IntegriCloud