semantics.c (begin_class_definition): Update the struct's location here ...
authorNathan Sidwell <nathan@acm.org>
Thu, 3 Jun 1999 07:16:15 +0000 (07:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 3 Jun 1999 07:16:15 +0000 (07:16 +0000)
commitb4f70b3d4214872f1bb55c2f63c0ce030d4f8bb8
treedcd1510ff4351574ab43d808d4b1fa7949f61077
parent8a8c36562fddd1dcaf5ebc8dee47d7cb20bc7a88
semantics.c (begin_class_definition): Update the struct's location here ...

* semantics.c (begin_class_definition): Update the struct's
location here ...
* class.c (finish_struct): ... rather than here.
* decl.c (make_typename_type): Don't rely on uninitialized
variable.

From-SVN: r27326
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.pt/crash5.C
gcc/testsuite/g++.old-deja/g++.pt/t05.C
gcc/testsuite/g++.old-deja/g++.robertl/eb109.C