[Bug c++/11468] Deriving from CNI class java::lang::Object causing an ICE
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 23 16:05:00 GMT 2006
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-06-23 16:00 -------
Subject: Bug 11468
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11468
More information about the Gcc-bugs
mailing list