From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37713 invoked by alias); 24 Sep 2015 09:40:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 37257 invoked by uid 48); 24 Sep 2015 09:40:28 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/67707] Regression in std::move of std::deque with non-is_always_equal allocator Date: Thu, 24 Sep 2015 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg01943.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67707 Markus Trippelsdorf 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 --- 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 *'