diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 67a03461e18..9f739eecd39 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-02-12 Phil Edwards + + * decl.c (build_enumerator): Remove unneeded test. + 2003-02-09 Dan Nicolaescu * cp-tree.h (struct lang_type_header): Make all fields unsigned diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index e02fdd23ed0..d9f29e16590 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -13147,7 +13147,7 @@ build_enumerator (tree name, tree value, tree enumtype) } /* Default based on previous value. */ - if (value == NULL_TREE && ! processing_template_decl) + if (value == NULL_TREE) { tree prev_value;