https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118574
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Is KDE Plasma built with -std=gnu++20 or -std=gnu++17? Perhaps as a workaround -fno-range-for-ext-temps option could help. If it is built with -std=c++23/gnu++23 or later, that won't work though.