From b5effa192ab0118ff232fd8bb9c2841db30379b0 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 15 May 1998 00:46:36 +0000 Subject: [PATCH] * decl.c (start_decl): Use 'tem'. From-SVN: r19768 --- 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 ae3695b0b6f..d8d4752f1b1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Fri May 15 00:46:05 1998 Jason Merrill + + * decl.c (start_decl): Use 'tem'. + Thu May 14 16:30:47 EDT 1998 Andrew MacLeod * exception.cc: Include eh-common.h. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 287c8ad430c..ad3f998116d 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -6247,7 +6247,7 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes) if (! current_function_decl) tem = push_template_decl (tem); else if (minimal_parse_mode) - DECL_VINDEX (decl) + DECL_VINDEX (tem) = build_min_nt (DECL_STMT, copy_to_permanent (declarator), copy_to_permanent (declspecs), NULL_TREE);