[tree-ssa ] Misc small improvements

Jason Merrill jason@redhat.com
Tue Jul 1 12:46:00 GMT 2003


On Mon, 30 Jun 2003 21:56:11 -0600, law@redhat.com wrote:

> In message <wvlfzlr2aqa.fsf@prospero.boston.redhat.com>, Jason Merrill writes:
>  >--=-=-=
>  >
>  >On Mon, 30 Jun 2003 20:06:23 -0600, law@redhat.com wrote:
>  >
>  >> The expr.c change improves the code we generate for COND_EXPRs with one
>  >> interesting arm that is a GOTO_EXPR.  This happens a lot just about
>  >> everywhere.
>  >
>  >Yep.  Here's my version of that patch, which I set aside because it didn't
>  >deal with a saved stack position.

> I'm not sure what you're referring to.  Are you referring to deferred pops
> or something else?

I'm referring to the emit_stack_restore stuff in expand_goto_internal.

>  > It handles more cases than yours,
> Do you have an example handy?

My patch also handles COND_EXPRs with two interesting arms, at least one of
which is a GOTO_EXPR.

Jason



More information about the Gcc-patches mailing list