This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81069] nvptx offloading: "-O1" execution test of "libgomp.oacc-fortran/nested-function-1.f90" timeout/FAIL


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]