Commit 69ca5554 by Per Bothner Committed by Per Bothner

class.c (make_class_data): The class_dtable_decl (i.e.


	* class.c (make_class_data):  The class_dtable_decl (i.e. the
	vtable for Class) should be external, except when compiling Class.

From-SVN: r40534
parent 7e5b9908
2001-03-13 Per Bothner <per@bothner.com> 2001-03-13 Per Bothner <per@bothner.com>
* class.c (make_class_data): The class_dtable_decl (i.e. the
vtable for Class) should be external, except when compiling Class.
* jvspec.c (lang_specific_driver): Fix -C handling. * jvspec.c (lang_specific_driver): Fix -C handling.
Check -save-temps to see if temp @FILE should be deleted. Check -save-temps to see if temp @FILE should be deleted.
Follow-up to/fix for February 16 patch. Follow-up to/fix for February 16 patch.
......
...@@ -1359,6 +1359,8 @@ make_class_data (type) ...@@ -1359,6 +1359,8 @@ make_class_data (type)
TREE_STATIC (class_dtable_decl) = 1; TREE_STATIC (class_dtable_decl) = 1;
DECL_ARTIFICIAL (class_dtable_decl) = 1; DECL_ARTIFICIAL (class_dtable_decl) = 1;
DECL_IGNORED_P (class_dtable_decl) = 1; DECL_IGNORED_P (class_dtable_decl) = 1;
if (is_compiled_class (class_type_node) != 2)
DECL_EXTERNAL (class_dtable_decl) = 1;
rest_of_decl_compilation (class_dtable_decl, (char*) 0, 1, 0); rest_of_decl_compilation (class_dtable_decl, (char*) 0, 1, 0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment