]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.
authorMark Mitchell <mark@codesourcery.com>
Wed, 23 Aug 2000 17:12:23 +0000 (17:12 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 23 Aug 2000 17:12:23 +0000 (17:12 +0000)
commit94350948fbd3d9e2157f2e39903c78ca0661a25b
tree3b18de0b9496900a925203d22eada82d35fb45e4
parente282c9c9f5ab1e633571d3ded6e15a81beb690cc
cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.

* cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.
* mangle.c (write_function_type): Change prototype.
(write_encoding): Don't mangle return types for
constructors or destructors.
(write_type): Adjust call to write_function_type.
* pt.c (instantiate_template): Instantiate alternate entry points
when instantiating the main function.

From-SVN: r35916
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/mangle.c
gcc/cp/pt.c