https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Slightly reduced: #include <vector> std::vector<bool> byCallSpread; void f() { byCallSpread = {true}; }