[Bug libgomp/64707] FAIL: libgomp.c/target-9.c with -ftree-parallelize-loops=0
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 12:44:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list