From 6a540f3ca384b19191464678e75c0e34154560dd Mon Sep 17 00:00:00 2001 From: Phil Edwards Date: Thu, 13 Feb 2003 03:50:18 +0000 Subject: [PATCH] decl.c (build_enumerator): Remove unneeded test. 2003-02-12 Phil Edwards * decl.c (build_enumerator): Remove unneeded test. From-SVN: r62817 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;