OSDN Git Service

2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 21:41:32 +0000 (21:41 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 21:41:32 +0000 (21:41 +0000)
* 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

gcc/ChangeLog
gcc/c-typeck.c

index f80eeb7..5838242 100644 (file)
@@ -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
index 28d023d..e8e2f69 100644 (file)
@@ -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