[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 25 12:43:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list