https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115378
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-06-06 Summary|[ice-on-valid] code using |[14/15 Regression] ICE with |friend injection is |lambda function as a |crashing gcc since 14 |default template argument | |with variadic templates in | |some cases Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Target Milestone|--- |14.2 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I don't think it was exactly working in GCC 13 either even though it was not ICEing. With my reduced testcase we get the following (wrong) warning for GCC 13: <source>:4:33: warning: no return statement in function returning non-void [-Wreturn-type] 4 | template<class Slot, auto Tag = []{}> | ^~~~