Re: [PATCH][OpenMP] Forbid usage of non-target functions in target regions

2015-02-16 Thread Ilya Verbin
On Mon, Feb 02, 2015 at 13:10:19 +0100, Jakub Jelinek wrote: > [...] Generally, the solution if something goes > wrong during the offloading compilation should be just to give up on the > offloading to the particular offloading target (i.e. fill in the sections > libgomp reads in a way that will r

Re: [PATCH][OpenMP] Forbid usage of non-target functions in target regions

2015-02-02 Thread Jakub Jelinek
On Sun, Jan 11, 2015 at 11:06:52PM +0300, Ilya Verbin wrote: > On 09 Jan 16:02, Jakub Jelinek wrote: > > On Fri, Jan 09, 2015 at 05:57:02PM +0300, Ilya Verbin wrote: > > > If one (by mistake) calls a non-target function from the target region, > > > the > > > offload compiler crashes in input_over

Re: [PATCH][OpenMP] Forbid usage of non-target functions in target regions

2015-01-11 Thread Ilya Verbin
On 09 Jan 16:02, Jakub Jelinek wrote: > On Fri, Jan 09, 2015 at 05:57:02PM +0300, Ilya Verbin wrote: > > If one (by mistake) calls a non-target function from the target region, the > > offload compiler crashes in input_overwrite_node. This is because > > compute_ltrans_boundary during streaming-ou

Re: [PATCH][OpenMP] Forbid usage of non-target functions in target regions

2015-01-09 Thread Jakub Jelinek
On Fri, Jan 09, 2015 at 05:57:02PM +0300, Ilya Verbin wrote: > Hi! > > If one (by mistake) calls a non-target function from the target region, the > offload compiler crashes in input_overwrite_node. This is because > compute_ltrans_boundary during streaming-out includes to SET the > non-offloadab