OSDN Git Service

(
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Aug 1998 16:43:59 +0000 (16:43 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Aug 1998 16:43:59 +0000 (16:43 +0000)
commitb5711a32846e5083d1ebc7fb2a2f4127b802106c
tree7c021b2b3d1931bde74d15734bbaad9cbde4d179
parentbb6e087ec97e7f7e4e06826f616c23ea405ea638
(
Handle new'ing of Java classes.
* init.c (build_class_classref):  New function.
(build_new_1):  If type is TYPE_FOR_JAVA:  Call _Jv_AllocObject;
constructor does not return this;  don't need to exception-protect.
* pt.c (lookup_template_class):  Copy TYPE_FOR_JAVA flag.
* decl2.c (acceptable_java_type):  Handle template-derived types.

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