]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* decl.c (finish_enum): Initialize underlying_type.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Tue, 29 Jul 2003 22:15:28 +0000 (22:15 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 29 Jul 2003 22:15:28 +0000 (22:15 +0000)
From-SVN: r69941

gcc/cp/ChangeLog
gcc/cp/decl.c

index 12d843583f1fd824cefd1100ebc1caa36a55438c..dbebfa8dd2a9cd071196c1ab8cf92521c11b2534 100644 (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
index 637ad1f36d5fcb7a11b2dfce3789cdfce9a4f1fc..3ed6744a9e0685c7babe7f9ea2ef4be0862ce18b 100644 (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));