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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:3f39b64e57ab8e8f69a017e4bd20aa6dd2aec492

commit r11-4469-g3f39b64e57ab8e8f69a017e4bd20aa6dd2aec492
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed Oct 28 10:30:41 2020 +0100

    xfail and improve some failing libgomp tests [PR81690]

    With the patch I've posted today to fix up declare variant LTO handling,
    Tobias reported the patch still doesn't work, and there are two
    reasons for that.
    One is that when the base function is marked implicitly as declare target,
    we don't mark also implicitly the variants.  I'll need to ask on omp-lang
    about details for that, but generally the compiler should do it some way.
    The other one is that the way base_delay is written, it will always
    call the usleep function, which is undesirable for nvptx.  While the
    compiler will replace all direct calls to base_delay to nvptx_delay,
    the base_delay definition which calls usleep stays.

    2020-10-28  Jakub Jelinek  <ja...@redhat.com>
                Tom de Vries  <tdevr...@suse.de>

            PR testsuite/81690
            * testsuite/libgomp.c/usleep.h: New file.
            * testsuite/libgomp.c/target-32.c: Include usleep.h.
            (main): Use tgt_usleep instead of usleep.
            * testsuite/libgomp.c/thread-limit-2.c: Include usleep.h.
            (main): Use tgt_usleep instead of usleep.

Reply via email to