diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
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); |