This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: basic block reordering + java
- To: Anthony Green <green at redhat dot com>
- Subject: Re: basic block reordering + java
- From: Jan Hubicka <jh at suse dot cz>
- Date: Sat, 22 Sep 2001 17:43:45 +0200
- 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>
> With basic block reordering, we often see code from gcj that ends in...
>
> .L20:
> call _Jv_ThrowNullPointerException
> .L21:
> call _Jv_ThrowNullPointerException
> .L22:
> call _Jv_ThrowNullPointerException
> .L23:
> call _Jv_ThrowNullPointerException
> .L24:
> call _Jv_ThrowNullPointerException
> .L25:
> call _Jv_ThrowNullPointerException
> .L26:
> call _Jv_ThrowNullPointerException
>
> Is there an easy way for GCC to merge identical blocks?
Oh yes, all you need is to modify crossjumping to add fake "noreturn"
edges and crossjump over them.
I can try to get that working later, but right now I am quite busy by other
thinks.
Honza