This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/64707] FAIL: libgomp.c/target-9.c with -ftree-parallelize-loops=0
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jan 2015 12:44:48 +0000
- Subject: [Bug libgomp/64707] FAIL: libgomp.c/target-9.c with -ftree-parallelize-loops=0
- Auto-submitted: auto-generated
- References: <bug-64707-4 at http dot gcc dot gnu dot org/bugzilla/>
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.