Commit 01c3fb15 by Jason Molenda Committed by Zack Weinberg

init.c (build_field_list): Provide uses_unions_p with a default value.

2002-10-11  Jason Molenda  <jmolenda@apple.com>

	* init.c (build_field_list): Provide uses_unions_p with a default
	value.

From-SVN: r58056
parent 8e3df2de
2002-10-11 Jason Molenda <jmolenda@apple.com>
* init.c (build_field_list): Provide uses_unions_p with a default
value.
2002-10-11 Mark Mitchell <mark@codesourcery.com> 2002-10-11 Mark Mitchell <mark@codesourcery.com>
* NEWS: Document removal of "new X = ..." extension. * NEWS: Document removal of "new X = ..." extension.
...@@ -30,7 +35,7 @@ ...@@ -30,7 +35,7 @@
* typeck2.c (store_init_value): Don't try to handle digest_init * typeck2.c (store_init_value): Don't try to handle digest_init
being called more than once. being called more than once.
(digest_init): Tidy handling of brace-enclosed initializers. (digest_init): Tidy handling of brace-enclosed initializers.
2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* decl.c (typename_hash): Use htab_hash_pointer. * decl.c (typename_hash): Use htab_hash_pointer.
......
...@@ -416,6 +416,8 @@ build_field_list (t, list, uses_unions_p) ...@@ -416,6 +416,8 @@ build_field_list (t, list, uses_unions_p)
{ {
tree fields; tree fields;
*uses_unions_p = 0;
/* Note whether or not T is a union. */ /* Note whether or not T is a union. */
if (TREE_CODE (t) == UNION_TYPE) if (TREE_CODE (t) == UNION_TYPE)
*uses_unions_p = 1; *uses_unions_p = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment