From: Rainer Orth Date: Tue, 29 Jul 2003 22:15:28 +0000 (+0000) Subject: * decl.c (finish_enum): Initialize underlying_type. X-Git-Tag: releases/gcc-3.4.0~4536 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad96995ba1e08da3646502930168ea0c39a89ad7;p=thirdparty%2Fgcc.git * decl.c (finish_enum): Initialize underlying_type. From-SVN: r69941 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 12d843583f1f..dbebfa8dd2a9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-07-29 Rainer Orth + + * decl.c (finish_enum): Initialize underlying_type. + 2003-07-29 Nathan Sidwell PR c++/9447 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 637ad1f36d5f..3ed6744a9e06 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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));