[Bug libstdc++/91856] std::list::remove(const T& value) is broken with -D_GLIBCXX_DEBUG when value is a reference inside the list

fdumont at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 19 19:59:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91856

François Dumont <fdumont at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fdumont at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #1 from François Dumont <fdumont at gcc dot gnu.org> ---
This problem has already been fixed while upgrading std::list::remove signature
for C++17.

The fix is available starting with gcc 9.


More information about the Gcc-bugs mailing list