gcc version 10.0.1 20200411, provided by gcc-10 package is prone, to internal compiler errors not present in gcc 10.1
QUESTION: Would it be possible to upgrade the compiler version provided by the gcc 10 package to gcc 10.1?
BACKGROUND:
I'm currently working on a library for asynchronous networking via C++20 coroutines, and I've been using the version of gcc 10 provided by this package as my compiler. This version is listed as: 10.0.1 20200411 (experimental). I've encountered a number of internal compiler errors, even for simple very code.
I downloaded and built gcc 10.1 and these internal compiler errors do not appear in that version. I plan on deploying and publishing this library, and I want people to have a stable and accessible version of gcc-10 with which to build the library. I cannot release the library in pre-built form because it contains a lot of templated code as part of it's public interface.
REPRODUCING THE BUG:
I created a minimal example of one of the bugs I'm having. Here is a single file that reproduces the internal compiler error: https:/
This program compiles fine under gcc-10.1
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu gcc-10 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jorge Antonio Perez for more information if necessary.