This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/36247] Segfault with -findirect-dispatch and --jni
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 16 May 2008 19:03:54 -0000
- Subject: [Bug java/36247] Segfault with -findirect-dispatch and --jni
- References: <bug-36247-16139@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tromey at gcc dot gnu dot org 2008-05-16 19:03 -------
in build_jni_stub, build_class_ref returns NULL because
this_classdollar is NULL.
Probably we should call cache_this_class_ref here, but that
would mean making java_add_stmt work in the jni stub case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36247