basic block reordering + java

Jan Hubicka jh@suse.cz
Sat Sep 22 08:43:00 GMT 2001


> 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



More information about the Gcc mailing list