https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64707

--- Comment #3 from vries at gcc dot gnu.org ---
Created attachment 34515
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34515&action=edit
tentative patch, adding flag_ltrans || flag_wpa to the GOMP builtin guard
conditions

(In reply to Jakub Jelinek from comment #2)
> Wouldn't it be better to just add || flag_ltrans || flag_wpa to the
> GOMP/GOACC builtin guard conditions?
> I mean, relying on global flags here when they are combined from many
> sources, where some may be compiled with that option and others with
> different option is problematic.

Yes, that works as well, and I agree, it's better. Thanks.

Reply via email to