This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81069] nvptx offloading: "-O1" execution test of "libgomp.oacc-fortran/nested-function-1.f90" timeout/FAIL
- 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, 12 Jul 2017 14:18:39 +0000
- Subject: [Bug target/81069] nvptx offloading: "-O1" execution test of "libgomp.oacc-fortran/nested-function-1.f90" timeout/FAIL
- Auto-submitted: auto-generated
- References: <bug-81069-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81069
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 41733
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41733&action=edit
tentative patch, starts neutering alap in nvptx_single
> But in this case, we're extending the sese region being neutered to include
> a branch that doesn't have to be neutered. I don't think there's a purpose in
> doing that.
This patch postpone insertion of the diverging branch to alap, by skipping over
unconditional jumps at the start of nvptx_single.
This allows the test-case to pass (because we don't run into the ptx bug).