https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Patrick? Can you please have a look here? While the trunk ICE is suppressed by release checking the ICE on the 14 branch is a different one, and that prevails with release checking as Andrew says. So I wonder what fixed it on trunk with release checking? It also makes the issue on the 14 branch more severe (and we should possibly track both issues separately...). t.ii: In substitution of ‘template<auto G> <lambda()> [with auto G = <missing>]’: t.ii:2:23: required from ‘void f(F) [with F = <lambda()>]’ 2 | void f(F op = {}) { op(); } | ~~^~ t.ii:4:15: required from here 4 | int main() { f(); } | ~^~ t.ii:1:43: internal compiler error: in get_innermost_template_args, at cp/pt.cc:684 1 | template <class F = decltype([] <auto G = [] {}> () {})> | ^~~~~ 0x110d617 get_innermost_template_args(tree_node*, int) /space/rguenther/src/gcc-14-branch/gcc/cp/pt.cc:684