aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-05-15 00:46:36 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-05-14 20:46:36 -0400
commitb5effa192ab0118ff232fd8bb9c2841db30379b0 (patch)
treeb15b68ec8bd189e722dc65c7e1076f377ba26fb5 /gcc
parent438a7234c4e50fd2ee08166abd16a8fa2b984bae (diff)
downloadgcc-b5effa192ab0118ff232fd8bb9c2841db30379b0.zip
gcc-b5effa192ab0118ff232fd8bb9c2841db30379b0.tar.gz
gcc-b5effa192ab0118ff232fd8bb9c2841db30379b0.tar.bz2
* decl.c (start_decl): Use 'tem'.
From-SVN: r19768
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ae3695b..d8d4752 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Fri May 15 00:46:05 1998 Jason Merrill <jason@yorick.cygnus.com>
+
+ * decl.c (start_decl): Use 'tem'.
+
Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* exception.cc: Include eh-common.h.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 287c8ad..ad3f998 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);