r114937 - in /trunk/gcc: cp/ChangeLog cp/init.c...

reichelt@gcc.gnu.org reichelt@gcc.gnu.org
Fri Jun 23 15:59:00 GMT 2006


Author: reichelt
Date: Fri Jun 23 15:59:51 2006
New Revision: 114937

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114937
Log:
	PR c++/11468
	* init.c (build_new_1): Handle error_mark_nodes returned by
	build_java_class_ref.
	(build_java_class_ref): Do not abort compilation, but return
	error_mark_node.  Improve error message.  Fix indentation.

	* g++.dg/other/java2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/java2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list