re PR c++/11468 (Deriving from CNI class java::lang::Object causing an ICE)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Fri, 23 Jun 2006 15:59:51 +0000 (15:59 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Fri, 23 Jun 2006 15:59:51 +0000 (15:59 +0000)
commita3d536f1c1c0aa3d414c17c4acc44c900b1f1e38
tree834611c09e87709f52ba63aed4621e8b5f75bb29
parent6de5f432f1e671c985b02a29bea02eb15e7553cc
re PR c++/11468 (Deriving from CNI class java::lang::Object  causing an ICE)

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.

From-SVN: r114937
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/java2.C [new file with mode: 0644]