Commit ad96995b by Rainer Orth Committed by Rainer Orth

* decl.c (finish_enum): Initialize underlying_type.

From-SVN: r69941
parent a6400add
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> 2003-07-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9447 PR c++/9447
......
...@@ -13043,7 +13043,7 @@ finish_enum (tree enumtype) ...@@ -13043,7 +13043,7 @@ finish_enum (tree enumtype)
int highprec; int highprec;
int precision; int precision;
integer_type_kind itk; integer_type_kind itk;
tree underlying_type; tree underlying_type = NULL_TREE;
/* We built up the VALUES in reverse order. */ /* We built up the VALUES in reverse order. */
TYPE_VALUES (enumtype) = nreverse (TYPE_VALUES (enumtype)); TYPE_VALUES (enumtype) = nreverse (TYPE_VALUES (enumtype));
......
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