From: Jason Molenda Date: Fri, 11 Oct 2002 18:10:59 +0000 (+0000) Subject: init.c (build_field_list): Provide uses_unions_p with a default value. X-Git-Tag: releases/gcc-3.2.1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0abf670a5288909fe37f1d24c800a96c244c302;p=thirdparty%2Fgcc.git init.c (build_field_list): Provide uses_unions_p with a default value. 2002-10-11 Jason Molenda * init.c (build_field_list): Provide uses_unions_p with a default value. From-SVN: r58057 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dddcaacfb3e8..d47dcc70b78f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2002-10-11 Jason Molenda + + * init.c (build_field_list): Provide uses_unions_p with a default + value. + 2002-10-10 Gabriel Dos Reis PRs C++/6803, C++/7721 and C++/7803 diff --git a/gcc/cp/init.c b/gcc/cp/init.c index a46d853efa42..df63e6767701 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -348,6 +348,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;