This is the mail archive of the
mailing list for the GCC project.
Re: [patch] tree-ssa-dce.c: Don't let an explicit GOTO_EXPR slipthrough.
- From: Jeffrey A Law <law at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: amacleod at redhat dot com, gcc-patches at gcc dot gnu dot org, Kazu Hirata <kazu at cs dot umass dot edu>
- Date: Mon, 01 Nov 2004 16:45:04 -0700
- Subject: Re: [patch] tree-ssa-dce.c: Don't let an explicit GOTO_EXPR slipthrough.
- Organization: Red Hat, Inc
- References: <firstname.lastname@example.org> <1098987919.6988.426.camel@pain> <email@example.com> <firstname.lastname@example.org> <F0E93F7E-2941-11D9-9310-000A95D692F4@physics.uc.edu> <email@example.com> <3E848380-2C52-11D9-8250-000A95D692F4@physics.uc.edu>
- Reply-to: law at redhat dot com
On Mon, 2004-11-01 at 17:06 -0500, Andrew Pinski wrote:
> On Nov 1, 2004, at 4:59 PM, Jeffrey A Law wrote:
> > On Thu, 2004-10-28 at 20:31 -0400, Andrew Pinski wrote:
> >> On Oct 28, 2004, at 8:21 PM, Kazu Hirata wrote:
> >>> Hi Jeff and Andrew,
> >>> Do we have a testcase (not necessarily from testsuite) for nonlocal
> >>> gotos somewhere? Can we somehow cook up one?
> >> This should print Hi twice but I should note that never have a
> >> GOTO_EXPR
> >> for non-local gotos, we always have a builtin function:
> >> __builtin_nonlocal_goto for it.
> > ??? I wasn't aware of that change for a nonlocal goto. Where
> > does that happen? If indeed we never have a GOTO_EXPR for a nonlocal
> > goto, then there's a few places that can be cleaned up a little.
> It happens in tree-nested.c. This has been like this since before the
> merge into the mainline.