summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 13:10:18 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 13:10:18 +0000
commit2768cacc6f949adaf84f5c0d5a7bce74645a1e44 (patch)
treed7996e70883a19e93c2f74f09f9c6c96b94e0abb /gcc/cp/pt.c
parent605a41de95482dd45395899af9c46a1396ed2bc6 (diff)
downloadgcc-2768cacc6f949adaf84f5c0d5a7bce74645a1e44.tar.gz
* Revert today's change -- there is a subtle bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 9503e3ec13f..3d6279a8282 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -10149,7 +10149,7 @@ tsubst_enum (tag, newtag, args)
build_enumerator (TREE_PURPOSE (e), value, newtag);
}
- finish_enum (newtag, NULL_TREE);
+ finish_enum (newtag);
DECL_SOURCE_LINE (TYPE_NAME (newtag)) = DECL_SOURCE_LINE (TYPE_NAME (tag));
DECL_SOURCE_FILE (TYPE_NAME (newtag)) = DECL_SOURCE_FILE (TYPE_NAME (tag));
}