https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111536
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-06-01 Status|UNCONFIRMED |NEW --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Another reduced testcase, this time reduced from std::string: ``` struct g { int t; g(); g(const g&); }; g foo1() { return g{}; } ```