Re: [PATCH][openacc] Disable pass_thread_jumps for IFN_UNIQUE

2019-06-14 Thread Jeff Law
On 6/12/19 11:54 AM, Tom de Vries wrote: > Hi, > > If we compile the openacc testcase with -fopenacc -O2, we run into a SIGSEGV > or assert. The root cause for this is that pass_thread_jumps breaks the > invariant that OACC_FORK and OACC_JOIN mark the start and end of a > single-entry-single-exit

[PATCH][openacc] Disable pass_thread_jumps for IFN_UNIQUE

2019-06-12 Thread Tom de Vries
Hi, If we compile the openacc testcase with -fopenacc -O2, we run into a SIGSEGV or assert. The root cause for this is that pass_thread_jumps breaks the invariant that OACC_FORK and OACC_JOIN mark the start and end of a single-entry-single-exit region. Fix this by bailing out when encountering a