https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120155
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE when generic lambda |ICE with generic lambda |return type is the decltype |return type is the decltype |of statement expression |of statement expression --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > but all published versions do not. that is just a checking ICE ... GCC 10.3.0 with --enable-checking=yes provides the same ICE as the trunk.