This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
basic block reordering + java
- To: "Anthony Green" <green at redhat dot com>
- Subject: basic block reordering + java
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- Date: Fri, 21 Sep 2001 15:30:09 +0100 (BST)
- Cc: "Gcc at Gcc dot Gnu. Org" <gcc at gcc dot gnu dot org>,"Java at Gcc dot Gnu. Org" <java at gcc dot gnu dot org>
- References: <005601c142aa$039ed920$5be6b4cd@cygnus.com>
Anthony Green writes:
>
> Also, I find that if the last NullPointerException branch is taken,
> printStackTrace() will produce incorrect results. You end up seeing the
> function after this in place of the one calling _Jv_ThrowNullPointerException.
> Should we be backing up the program counter somewhere? (or emitting a NOP at
> the very end of each function?)
We use backtrace() from glibc. If it's wrong, this is a glibc bug.
Andrew.