Bug#1053826: gcc-12: internal compiler error with template specialization on floating point non-type-param in C++20 mode

2023-10-17 Thread Matthias Klose
This is fixed in GCC 13, available in testing and unstable. Doesn't look like a regression, so it's unlikely to be backported. On 12.10.23 09:20, Andre Naujoks wrote: Package: gcc-12 Version: 12.3.0-10 Severity: normal X-Debbugs-Cc: andre.nauj...@keysight.com Hello. The following piece of

Bug#1053826: gcc-12: internal compiler error with template specialization on floating point non-type-param in C++20 mode

2023-10-12 Thread Andre Naujoks
Package: gcc-12 Version: 12.3.0-10 Severity: normal X-Debbugs-Cc: andre.nauj...@keysight.com Hello. The following piece of code generates a compiler error with gcc-12 in C++20 mode: template struct F { static double foo() { return D; } }; template struct F { static double