From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13043 invoked by alias); 13 Mar 2013 13:35:49 -0000 Received: (qmail 11152 invoked by uid 48); 13 Mar 2013 13:35:16 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/56613] [4.8 Regression] map::operator[](key_type&&) fails with custom allocator Date: Wed, 13 Mar 2013 13:35: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-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2013-03/txt/msg01039.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56613 --- Comment #1 from Jonathan Wakely 2013-03-13 13:35:14 UTC --- Oops, the program isn't quite valid C++03, I forgot these members of the allocator: pointer address(reference x) const throw() { return &x; } const_pointer address(const_reference x) const throw() { return &x; } That doesn't affect the issue though.