Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66347 - [gcc] auto in requires clause causes internal compiler error
Attached to Project:
Arch Linux
Opened by Virginia Senioria (91khr) - Wednesday, 22 April 2020, 07:42 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 11 May 2020, 07:11 GMT
Opened by Virginia Senioria (91khr) - Wednesday, 22 April 2020, 07:42 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 11 May 2020, 07:11 GMT
|
DetailsSteps to reproduce:
1. Create a source file like this: [code] template<class T> concept C = requires(auto a) {}; [/code] 2. Compile it using g++ -fconcepts -std=c++2a 3. Error message: [code] test.cpp:1:28: internal compiler error: in synthesize_implicit_template_parm, at cp/parser.c:41307 1 | concept CC = requires(auto a) {}; | ^ [/code] |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Monday, 11 May 2020, 07:11 GMT
Reason for closing: Fixed
Additional comments about closing: 10.1.0-1
Monday, 11 May 2020, 07:11 GMT
Reason for closing: Fixed
Additional comments about closing: 10.1.0-1
Comment by Virginia Senioria (91khr) -
Wednesday, 22 April 2020, 07:44 GMT
Forgot to say, g++ version is 9.3.0