[patch] Fortran fix for PR70289

Jakub Jelinek jakub@redhat.com
Fri Apr 1 14:56:00 GMT 2016


On Fri, Apr 01, 2016 at 07:49:16AM -0700, Cesar Philippidis wrote:
> The bug in PR70289 is an assertion failure triggered by a static
> variable used inside an offloaded acc region which doesn't have a data
> clause associated with it. Basically, that static variable ends up in a
> different lto partition, which was not streamed to the offloaded
> compiler. I'm not sure if we should try to replicate the static storage
> in the offloaded regions, but it probably doesn't make sense in a
> parallel environment anyway.

Is this really Fortran specific?  I'd expect the diagnostics to be in
gimplify.c and handle it for all 3 FEs...

	Jakub



More information about the Gcc-patches mailing list