On Thu, Oct 22, 2015 at 8:06 PM, Nathan Sidwell <nat...@acm.org> wrote: > On 10/22/15 10:26, Richard Biener wrote: >> >> On Thu, Oct 22, 2015 at 4:01 PM, Nathan Sidwell <nat...@acm.org> wrote: >>> >>> On 10/22/15 04:07, Richard Biener wrote: >>> >>>> Yeah, please make them either end or start a BB so we have to check >>>> at most a single stmt. ECF_RETURNS_TWICE should achieve that, >>>> it also makes it a code motion barrier. >>> >>> >>> >>> Just so I'm clear, you're not saying that RETURNS_TWICE will stop the >>> call >>> being duplicated though? >> >> >> It will in practice. RETURNS_TWICE will get you an abnormal edge from >> entry (I think) > > > Won't that interfere with the OMP machinery, which expects correctly nested > loops? (no in-to or out-of loop jumps)
Probably yes. > nathan