From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10584 invoked by alias); 30 Nov 2009 14:03:59 -0000 Received: (qmail 7161 invoked by uid 48); 30 Nov 2009 14:03:33 -0000 Date: Mon, 30 Nov 2009 14:03:00 -0000 Subject: [Bug libstdc++/42230] New: abi::__cxa_demangle fails to return the length of the decoded name X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gcc at magfr dot user dot lysator dot liu dot se" 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: 2009-11/txt/msg02610.txt.bz2 When calling abi::__cxa_demangle("e", 0, &length, &cc) length is not updated but the documentation indicates that it should be set to the length of the demangled name. It seems that this change was introduced after 3.4.6 -- Summary: abi::__cxa_demangle fails to return the length of the decoded name Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc at magfr dot user dot lysator dot liu dot se GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42230