On Mon, Jul 12, 2021 at 2:22 PM Eric Botcazou <botca...@adacore.com> wrote: > > > There's still the open question what -fnon-call-exceptions on its > > own should do - IMHO it doesn't make sense to allow unwiding > > from a trapping memory reference but not from the call it resides > > in which means -fnon-call-exceptions should better enable > > -fexceptions? > > Or issue a warning that it requires -fexceptions if the latter is not enabled?
Maybe that as well - I'd just like to avoid having the "undefined" state flag_non_call_exceptions && ! flag_exceptions in the middle-end. Well, unless somebody comes up with a good convincing use. Richard. > -- > Eric Botcazou > >