This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patches] Re: delete unnecesary labels
> On Sun, Jul 15, 2001 at 10:05:13PM +0200, Jan Hubicka wrote:
> > * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
> > * except.c (finish_eh_generation): Update call of cleanup_cfg;
> > do rebuild_jump_labels instead of jump_optimize
> > * sibcall.c (optimize_sibbling_and_tail_recursive_call): Likewise.
> > * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
> > * flow.c (try_optimize_cfg): Remove unneeded code_labels.
>
> finish_eh_generation is called after sibling calls are removed.
> It couldn't deal with call_placeholder either. ;-)
Hmm, thinking about it more, I've simply replaced all jump_optimize_minimal
by cleanup_cfg, but in this case, is cleaning up usefull at all?
Whats about just building flowgraph?
Honza