* decl.c (finish_enum): Initialize underlying_type.

From-SVN: r69941
This commit is contained in:
Rainer Orth 2003-07-29 22:15:28 +00:00 committed by Rainer Orth
parent a6400add64
commit ad96995ba1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* decl.c (finish_enum): Initialize underlying_type.
2003-07-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9447

View File

@ -13043,7 +13043,7 @@ finish_enum (tree enumtype)
int highprec;
int precision;
integer_type_kind itk;
tree underlying_type;
tree underlying_type = NULL_TREE;
/* We built up the VALUES in reverse order. */
TYPE_VALUES (enumtype) = nreverse (TYPE_VALUES (enumtype));