-
Notifications
You must be signed in to change notification settings - Fork 143
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++20 #326
Comments
In addition, the GCC AVR backend will be deprecated in v10 and removed in v11 (~2021 release), so we may gain C++20 while loosing AVR support. Since Cortex-M development is de-prioritized by ARM for GCC as well with new features (Helium extension etc) only being added to LLVM, it may be necessary to switch to LLVM as our primary supported compiler. |
What is the main effort of upgrading to GCC 10? As @salkinium says, AVR is supported (but deprecated) there so that should not technically be a blocker. |
So I'm waiting on ARM. |
Most Linux distributions (Ubuntu, Fedora, Arch,
I hope AVR-support will stay in GCC after version 11, there is a chance: https://www.bountysource.com/issues/84630749-avr-convert-the-backend-to-mode_cc-so-it-can-be-kept-in-future-releases |
There already is a ARM GCC 10 "Preview": https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads#panel2a
|
Hui! So I can already play around with Coroutines on Cortex-M? The fibers are quivering!1!! |
ARM GCC 10 is now out of preview and available! |
Nice! |
Yes, please! |
Looking at the GCC Standards Support we still won't get full C++20 features with v10 and even in v11 some things are still missing. So we have to be a little careful about what features we use. |
Does this have interest C++20 Register abstraction? |
Good news, the AVR CC0 port bounty was completed and the work was checked in to mainline. |
avr-gcc v11 is now also available on macOS and we can port the changes (if any) to our avr-gcc Linux repo: We'll have to wait and see if the ARM toolchain goes GCC11 or stays another 6 months at GCC10. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
A lot of the C++20 features are already available with GCC9, most big features (Coroutines, Concepts, ...) will require GCC10.
For a complete list see https://en.cppreference.com/w/cpp/compiler_support.
The text was updated successfully, but these errors were encountered: