]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: stdc++.h and <coroutine>
authorJason Merrill <jason@redhat.com>
Thu, 14 Nov 2024 04:39:53 +0000 (23:39 -0500)
committerJason Merrill <jason@redhat.com>
Thu, 14 Nov 2024 16:39:31 +0000 (11:39 -0500)
commit985bc95bd64033cb9b21d6537cb413beb8fe4939
tree9a972e0fb7137bc1335969da0333b4aebcdce604
parent835530f4ee416f5ea20b3611f61f790c641d5cd3
libstdc++: stdc++.h and <coroutine>

r13-3036 moved #include <coroutine> into the new freestanding section, but
also moved it from a C++20 section to a C++23 section.  This patch moves it
back.

Incidentally, I'm curious why a few headers were removed from the hosted
section (including <coroutine>), but most were left in place, so we have
redundant includes of most hosted headers.

libstdc++-v3/ChangeLog:

* include/precompiled/stdc++.h: <coroutine> is C++20.
libstdc++-v3/include/precompiled/stdc++.h