This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] tree-ssa-dce.c: Don't let an explicit GOTO_EXPR slipthrough.


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.
Cool.  Thanks.
jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]