https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86515
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |10.1.0, 10.3.0, 8.1.0, | |9.1.0 Known to work| |11.1.0, 6.1.0, 6.4.0, | |7.1.0, 7.5.0 Summary|std::initializer_list |[9/10 Regression] |constructor is not a |std::initializer_list |constant expression |constructor is not a | |constant expression --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Seems to be working in GCC 11+. Also this is a regression.