> > >   PR rtl-optimization/88870
> > >   * dce.c (deletable_insn_p): Never delete const/pure calls that can
> > >   throw if we can't alter the cfg or delete dead exceptions.
> > >   (mark_insn): Don't call find_call_stack_args for such calls.
> > > 
> > >   * gcc.dg/pr88870.c: New test.
> > OK.  Though I wonder if we want to continue to support
> > -fnon-call-exceptions.  With GCJ gone is there any value left in that
> > capability?  There's little doubt in my mind other parts of GCC are not
> > -fnon-call-exception safe.
> 
> AFAIK Ada and Go use -fnon-call-exceptions by default and heavily rely on
> it.

Agreed.

Reply via email to