]> gcc.gnu.org Git - gcc.git/commit - gcc/testsuite/g++.old-deja/g++.pt/t05.C
typeck.c (require_complete_type): Use complete_type_or_else.
authorMark Mitchell <mark@markmitchell.com>
Fri, 7 Aug 1998 16:33:34 +0000 (16:33 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 7 Aug 1998 16:33:34 +0000 (16:33 +0000)
commitae58fa02be510bc8a7bb014a5f3f511594848d22
treed092a56e00a569bdd8d9357a8f77fb52cca950e7
parent523633872ac859b97c453f3c7356201f934e3478
typeck.c (require_complete_type): Use complete_type_or_else.

* typeck.c (require_complete_type): Use complete_type_or_else.
(complete_type_or_else): Always return NULL_TREE on failure, as
documented.
* pt.c (tsubst_aggr_type): Prototype.
(tsubst_decl): New function, split out from tsubst.  Set
input_filename and lineno as appropriate.
(pop_tinst_level): Restore the file and line number saved in
push_tinst_level.
(instantiate_class_template): Set input_filename and lineno as
appropriate.
(tsubst): Move _DECL processing to tsubst_decl.  Make sure the
context for a TYPENAME_TYPE is complete.
* decl2.c (grokbitfield): Issue errors on bitfields declared with
function type.
(do_dtors): As in do_ctors, pretend to be a member of the same
class as a static data member while generating a call to its
destructor.

From-SVN: r21627
12 files changed:
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.bugs/900402_01.C
gcc/testsuite/g++.old-deja/g++.law/visibility13.C
gcc/testsuite/g++.old-deja/g++.other/dtor2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/friend23.C
gcc/testsuite/g++.old-deja/g++.pt/t05.C
gcc/testsuite/g++.old-deja/g++.pt/typename8.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.robertl/eb109.C
gcc/testsuite/g++.old-deja/g++.robertl/eb128.C
This page took 0.068274 seconds and 5 git commands to generate.