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

--- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)
> LLSDA labels are for EH support, this testcase doesn't really use exceptions
> in any way, but it isn't compiled with -fno-exceptions; but that is the case
> of most of the C++ tests in libgomp (I see only 6 OpenACC tests with it),
> isn't it?

The test-case compiles with -fno-exceptions, but fails in execution here:
...
192         check (i >= 75 && i < 1945 && (i - 75) % 3 == 0);
...
We'll have to analyze that.

I think fexceptions is not implemented for nvptx. setjmp/longjmp is not
supported on nvptx, so using that variant is not possible. The other
possibility is using dwarf exceptions, but that is not setup. I think it could
be possible to use that for nvptx, but I expect modifications are needed to
deal with propagating exceptions from offloaded to host code.

Reply via email to