[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread basil--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 --- Comment #6 from Basil Milanich --- (In reply to Andrew Pinski from comment #1) > >However, the gcc-15.2 ICE seemingly depends on the environment > > No it depends on how you configure gcc. In your case you have > `--enable-checking=yes,extr

[Bug c++/121777] New: Possible UB in g++.

2025-09-03 Thread basil--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 Bug ID: 121777 Summary: Possible UB in g++. Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unas