[Bug tree-optimization/97000] [11 Regression][nvptx, openacc] internal compiler error: in nvptx_find_par, at config/nvptx/nvptx.c:3293

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 10 11:11:08 GMT 2020


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

--- Comment #10 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #9)
> Meh, this way of forcing UNIQUE last to speedup lookup is a hack ... but
> yes, your patch from comment#7 looks OK if you add
> 
>       /* IFN_UNIQUE should be the last insn, to make checking for it
>          as cheap as possible.  */
> 
> before the new check to say what this is about.  Note this will re-introduce
> the issue that passes cannot insert on loop entry edge without creating new
> BBs
> even if we forced preheaders to be created.  For some very special case, when
> UNIQUE is involved.  Thus we'll likely have even more hard to trigger latent
> bugs (before it was also former setjmp calls).

Filed PR97008 - "[openacc] Remove invariant that IFN_UNIQUE is last stmt in bb"


More information about the Gcc-bugs mailing list