Re: Improve ECF_NOTHROW flags for direct internal functions

2017-08-28 Thread Richard Biener
On Mon, Aug 28, 2017 at 10:16 AM, Richard Sandiford wrote: > Richard Biener writes: >> On Thu, Aug 17, 2017 at 1:06 PM, Richard Sandiford >> wrote >>> Richard Biener writes:

Re: Improve ECF_NOTHROW flags for direct internal functions

2017-08-28 Thread Richard Sandiford
Richard Biener writes: > On Thu, Aug 17, 2017 at 1:06 PM, Richard Sandiford > wrote >> Richard Biener writes: >>> On Thu, Aug 17, 2017 at 11:49 AM, Richard Sandiford >>> wrote:

Re: Improve ECF_NOTHROW flags for direct internal functions

2017-08-17 Thread Richard Biener
On Thu, Aug 17, 2017 at 1:06 PM, Richard Sandiford wrote > Richard Biener writes: >> On Thu, Aug 17, 2017 at 11:49 AM, Richard Sandiford >> wrote: >>> Internal functions that map directly to an optab can

Re: Improve ECF_NOTHROW flags for direct internal functions

2017-08-17 Thread Richard Sandiford
Richard Biener writes: > On Thu, Aug 17, 2017 at 11:49 AM, Richard Sandiford > wrote: >> Internal functions that map directly to an optab can only throw an >> exception for -fnon-call-exceptions. This patch handles that in >>

Re: Improve ECF_NOTHROW flags for direct internal functions

2017-08-17 Thread Richard Biener
On Thu, Aug 17, 2017 at 11:49 AM, Richard Sandiford wrote: > Internal functions that map directly to an optab can only throw an > exception for -fnon-call-exceptions. This patch handles that in > internal_fn_flags, in a similar way to ATTR_*NOTHROW in builtins.def.

Improve ECF_NOTHROW flags for direct internal functions

2017-08-17 Thread Richard Sandiford
Internal functions that map directly to an optab can only throw an exception for -fnon-call-exceptions. This patch handles that in internal_fn_flags, in a similar way to ATTR_*NOTHROW in builtins.def. (Functions that don't throw even for flag_non_call_exceptions should be explicitly marked