https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89764
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.5 |9.4 Summary|[8 Regression] ubsan |[9/10/11/12 Regression] |diagnostic on generic |ubsan diagnostic on generic |lambdas decayed to function |lambdas decayed to function |pointers |pointers --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I can reproduce it even with 9.3, 10.1 and 11.1. On the other side, on the bisect-seed box I can't reproduce, strange.