https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122661
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Jonathan Wakely <[email protected]>: https://gcc.gnu.org/g:2e9bed79a26cdf9c3b611db7b4ee6be9acf12071 commit r15-10512-g2e9bed79a26cdf9c3b611db7b4ee6be9acf12071 Author: Jonathan Wakely <[email protected]> Date: Thu Nov 13 09:45:12 2025 +0000 libstdc++: Fix std::forward_list::assign assignable check [PR122661] The std::is_assignable check should test for assignment to an lvalue, not an rvalue. libstdc++-v3/ChangeLog: PR libstdc++/122661 * include/bits/forward_list.h (forward_list::assign(I, I)): Fix value category in is_assignable check. * testsuite/23_containers/forward_list/modifiers/122661.cc: New test. (cherry picked from commit 9332dfd4523ddb100668a7c11a144a2bd676da7e)
