From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28745 invoked by alias); 26 Oct 2010 10:27:27 -0000 Received: (qmail 28735 invoked by uid 22791); 26 Oct 2010 10:27:27 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID,TW_GM X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 10:27:20 +0000 From: "pluto at agmk dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/45999] runtime error in std::vector python pretty printer. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pluto at agmk dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.5.2 X-Bugzilla-Changed-Fields: 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 Date: Tue, 26 Oct 2010 10:27:00 -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 X-SW-Source: 2010-10/txt/msg02153.txt.bz2 Message-ID: <20101026102700.vLBH85P0-9ec4OUWu30GnUADdvMquZP6o2bPYKEWD1w@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45999 --- Comment #4 from Pawel Sikora 2010-10-26 10:27:02 UTC --- (In reply to comment #3) > I've backported the fix: > http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165658 > > Thanks for trying the printers and submitting bug reports, Pawel btw. just FYI, this change causes syntax-error on python-2.4 based distros. Traceback (most recent call last): File "", line 3, in ? File "/local/devel/toolchain45/x86_64-gnu-linux.mt_alloc/share/gcc-4.5.2/python/libstdcxx/v6/printers.py", line 180 obit = 1 if elt & (1 << self.so) else 0 ^ SyntaxError: invalid syntax /ahome/pawels/.gdbinit:14: Error in sourced command file: Error while executing Python code.