This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/67707] Regression in std::move of std::deque with non-is_always_equal allocator


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-09-24
                 CC|                            |trippels at gcc dot gnu.org
          Component|c++                         |libstdc++
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
It is a libstc++11 issue. Confirmed.

markus@x4 tmp % clang++ -stdlib=libc++ -std=c++11 a.cpp
markus@x4 tmp % ./a.out
empty 1 size 0
empty 0 size 1
empty 1 size 0
empty 1 size 0
markus@x4 tmp % g++ -fsanitize=undefined --std=c++11 a.cpp
markus@x4 tmp % ./a.out
empty 1 size 0
empty 0 size 1
empty 1 size -128
/usr/lib/gcc/x86_64-pc-linux-gnu/5.2.1/include/g++-v5/bits/stl_deque.h:2162:20:
runtime error: load of null pointer of type 'int *'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]