Re: [PATCH] Add a fun parameter to three stmt_could_throw... functions

2018-10-22 Thread Richard Biener
On Sat, 20 Oct 2018, Martin Jambor wrote: > Hi, > > This long patch only does one simple thing, adds an explicit function > parameter to predicates stmt_could_throw_p, stmt_can_throw_external > and stmt_can_throw_internal. > > My motivation was ability to use stmt_can_throw_external in IPA > ana

[PATCH] Add a fun parameter to three stmt_could_throw... functions

2018-10-20 Thread Martin Jambor
Hi, This long patch only does one simple thing, adds an explicit function parameter to predicates stmt_could_throw_p, stmt_can_throw_external and stmt_can_throw_internal. My motivation was ability to use stmt_can_throw_external in IPA analysis phase without the need to push cfun. As I have disco