Handle internal functions in is_tm_pure_call

2015-11-06 Thread Richard Sandiford
The upcoming changes to use internal functions for things like sqrt caused a failure in gcc.dg/tm/20100610.c, because we were trying to get call flags from the null gimple_call_fn of an IFN_SQRT call. We've been making fairly heavy use of internal functions for a while now so I think this might

Re: Handle internal functions in is_tm_pure_call

2015-11-06 Thread Jeff Law
On 11/06/2015 12:15 PM, Richard Sandiford wrote: The upcoming changes to use internal functions for things like sqrt caused a failure in gcc.dg/tm/20100610.c, because we were trying to get call flags from the null gimple_call_fn of an IFN_SQRT call. We've been making fairly heavy use of