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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-03-17
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Possibly related to the debug iterator having non-trivial copy constructor
and/or destructor. I'm not sure why else it would fail only in debug mode.

N.B. you can use <debug/vector> and __gnu_debug::vector to use the same types
without _GLIBCXX_DEBUG, so you can mix std::vector and __gnu_debug::vector in
one translation unit (in case that helps analyse it).

Reply via email to