OSDN Git Service

Thu Sep 11 17:14:55 1997 Jason Merrill <jason@yorick.cygnus.com>
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Sep 1997 01:53:33 +0000 (01:53 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Sep 1997 01:53:33 +0000 (01:53 +0000)
commit7a52431f1d2ebe4a7bd700e3332a6b700b1e0d5b
treeac107b3a0273de309e87b0f293a74e11ff384877
parent93d131e38a15cbc219807e4da563b917edf2f663
Thu Sep 11 17:14:55 1997  Jason Merrill  <jason@yorick.cygnus.com>

* decl.c (lookup_name_real): Add implicit 'typename' to types from
base classes.

* pt.c (most_specialized_class): Fix typo.
(tsubst): Move constant folding to TREE_VEC case.

Thu Sep 11 10:08:45 1997  Mark Mitchell  <mmitchell@usa.net>

* pt.c (do_poplevel): Don't warn about unused local variables
while processing_template_decl since we don't always know whether
or not they will need constructing/destructing.

* pt.c (uses_template_parms): Check the values of an enumeration
type to make sure they don't depend on template parms.

* decl.c (make_typename_type): Don't lookup the field if the
context uses template parms, even if we're not
processing_template_decl at the moment.

* pt.c (coerce_template_parms): Avoid looking at the
TYPE_LANG_DECL portion of a typename type, since there won't be
one.
(tsubst): Do constant folding as necessary to make sure that
arguments passed to lookup_template_class really are constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15422 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c