From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1150 invoked by alias); 16 Jun 2014 17:14:38 -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 1108 invoked by uid 48); 16 Jun 2014 17:14:33 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61512] libstd++ postfix operator hangs Date: Mon, 16 Jun 2014 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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: 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: 2014-06/txt/msg01394.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61512 --- Comment #6 from Marc Glisse --- Really? With _GLIBCXX_DEBUG, your program is supposed to print the following message (even with the old gcc-4.4 you reported this against): /usr/include/c++/4.8/debug/safe_iterator.h:307:error: attempt to increment a past-the-end iterator. Objects involved in the operation: iterator "this" @ 0x0x7fff4a666fb0 { type = N11__gnu_debug14_Safe_iteratorISt23_Rb_tree_const_iteratorIiENSt7__debug3setIiSt4lessIiESaIiEEEEE (mutable iterator); state = past-the-end; references sequence with type `NSt7__debug3setIiSt4lessIiESaIiEEE' @ 0x0x7fff4a666fe0 }