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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:1e4122f1159ace52c114c011013adce25172d77b

commit r13-6437-g1e4122f1159ace52c114c011013adce25172d77b
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Fri Mar 3 01:47:00 2023 -0300

    [PR100127] Test for coroutine header in clang-compatible tests

    The test is compatible with clang as well as gcc, but ISTM that
    testing for the __clang__ macro is just as potentially error-prone as
    macros that used to be GCC-specific are now defined in compilers that
    aim for GCC compatibility.  Use a __has_include feature test instead.


    for  gcc/testsuite/ChangeLog

            PR c++/100127
            * g++.dg/coroutines/pr100127.C: Test for header rather than
            compiler macro.
            * g++.dg/coroutines/pr100772-a.C: Likewise.
            * g++.dg/coroutines/pr100772-b.C: Likewise.

Reply via email to