[Bug c++/97640] GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97640 --- Comment #1 from sandthorn --- The y-combinator implementation is from Barry's and Mathemagician's answer on SO. https://stackoverflow.com/a/40873657/6370128
[Bug c++/97640] New: GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97640 Bug ID: 97640 Summary: GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does. Product: gcc Version: unknown Status: UNCONFIRMED