diff options
author | Jason Molenda <jmolenda@apple.com> | 2002-10-11 18:09:59 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-10-11 18:09:59 +0000 |
commit | 01c3fb158c67846552e655c4ed4707d5e281eac4 (patch) | |
tree | 9f17a41af64264a38954f05d2891bf9b014166ae /gcc | |
parent | 8e3df2def72d65c27249128842fe14ef00695b6b (diff) | |
download | gcc-01c3fb158c67846552e655c4ed4707d5e281eac4.zip gcc-01c3fb158c67846552e655c4ed4707d5e281eac4.tar.gz gcc-01c3fb158c67846552e655c4ed4707d5e281eac4.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cp/init.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c2a44c3..01f8551 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +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> * NEWS: Document removal of "new X = ..." extension. @@ -30,7 +35,7 @@ * typeck2.c (store_init_value): Don't try to handle digest_init being called more than once. (digest_init): Tidy handling of brace-enclosed initializers. - + 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * decl.c (typename_hash): Use htab_hash_pointer. diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 051548e..0fefc12 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -416,6 +416,8 @@ build_field_list (t, list, uses_unions_p) { tree fields; + *uses_unions_p = 0; + /* Note whether or not T is a union. */ if (TREE_CODE (t) == UNION_TYPE) *uses_unions_p = 1; |