mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
de3cbcf9730b60db76c31c5b628f4bf2ebd6b284
coroutines.exp was basically only there to add -std=c++20 to all the tests; removing it lets us use the general support for running tests under multiple standards. Doing this revealed that some tests that specifically run in C++17 mode were relying on -std=c++20 followed by -std=c++17 leaving flag_coroutines set, which seems unintentional, and different from how we handle other feature flags. So this changes that, and adds the missing -fcoroutines to those tests. gcc/testsuite/ChangeLog: * g++.dg/coroutines/co-await-syntax-09-convert.C: Add -fcoroutines. * g++.dg/coroutines/co-await-syntax-10.C * g++.dg/coroutines/co-await-syntax-11.C * g++.dg/coroutines/co-await-void_type.C * g++.dg/coroutines/co-return-warning-1.C * g++.dg/coroutines/ramp-return-a.C * g++.dg/coroutines/ramp-return-c.C: Likewise. * g++.dg/coroutines/coroutines.exp: Removed. * lib/g++-dg.exp: Start at C++20 for coroutines/ gcc/c-family/ChangeLog: * c-opts.cc (c_common_post_options): Set flag_coroutines. (set_std_cxx20, set_std_cxx23, set_std_cxx26): Not here.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
This directory contains the GNU Compiler Collection (GCC). The GNU Compiler Collection is free software. See the files whose names start with COPYING for copying permission. The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details. The directory INSTALL contains copies of the installation information as HTML and plain text. The source of this information is gcc/doc/install.texi. The installation information includes details of what is included in the GCC sources and what files GCC installs. See the file gcc/doc/gcc.texi (together with other files that it includes) for usage and porting information. An online readable version of the manual is in the files gcc/doc/gcc.info*. See http://gcc.gnu.org/bugs/ for how to report bugs usefully. Copyright years on GCC source files may be listed using range notation, e.g., 1987-2012, indicating that every year in the range, inclusive, is a copyrightable year that could otherwise be listed individually.
Description
Languages
C++
30.7%
C
30%
Ada
14.5%
D
6.1%
Go
5.7%
Other
12.5%