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#59532 - [gcc] internal compiler error
Attached to Project:
Arch Linux
Opened by Hans Buchmann (hans.buchmann) - Monday, 06 August 2018, 10:45 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 10 August 2018, 12:18 GMT
Opened by Hans Buchmann (hans.buchmann) - Monday, 06 August 2018, 10:45 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 10 August 2018, 12:18 GMT
|
DetailsCompiling the c++ code
------8<------8<------8<------8<------8<------8<------8<------ struct Byte { constexpr Byte():c(0){} static const Byte Zero; unsigned c; }; struct Word { typedef Byte W[4]; constexpr Word():w({Byte::Zero,Byte::Zero,Byte::Zero,Byte::Zero}){} W w; }; struct AES256 { AES256(); Word w[60]; }; AES256::AES256() { } ------8<------8<------8<------8<------8<------8<------8<------ with g++ -c -o bug.o bug.cc yields bug.cc: In constructor \u2018AES256::AES256()\u2019: bug.cc:21:16: in \u2018constexpr\u2019 expansion of \u2018Word()\u2019 bug.cc:21:16: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2798 AES256::AES256() ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. package: core/gcc 8.1.1+20180531-1 Sincerely Hans Buchmann |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Friday, 10 August 2018, 12:18 GMT
Reason for closing: Upstream
Friday, 10 August 2018, 12:18 GMT
Reason for closing: Upstream
Comment by Bartłomiej Piotrowski (Barthalion) -
Tuesday, 07 August 2018, 09:35 GMT
Looks like upstream issue.