egcs/gcc/java class.c parse.h jcf-dump.c jcf-w ...

bothner@egcs.cygnus.com bothner@egcs.cygnus.com
Mon Mar 15 13:10:00 GMT 1999


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	bothner@egcs.cygnus.com	99/03/15 13:09:50

Modified files:
	gcc/java       : class.c parse.h jcf-dump.c jcf-write.c parse.y 
	                 parse.c ChangeLog 

Log message:
	* class.c (make_class):  Don't set CLASS_P here (because
	this function is also called by build_java_array_type).
	(push_class):  Set CLASS_P here instead.
	* parse.h (TYPE_CLASS_P):  Check for TYPE_ARRAY_P is redundant.
	
	* jcf-dump.c (print_access_flags):  Take extra parameter to indicate
	context.  If the context is class, perfer "super" over "synchronized".
	* jcf-write.c (generate_classfile):  Don't add ACC_SUPER if interface.
	
	* parse.y (create_class):  Don't call parser_check_super here;
	it is not robust.  Always wait until later.
	
	* parse.y (method_header):  For interfaces, set ACC_ABSTRACT (to
	match what JDK 1.2 does), but don't set ACC_PUBLIC.



More information about the Gcc-cvs mailing list