https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122661
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Jonathan Wakely <[email protected]>: https://gcc.gnu.org/g:bdff461dd4c073c13fa52f2898e3212b30430612 commit r14-12156-gbdff461dd4c073c13fa52f2898e3212b30430612 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)
