This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/43838] [4.4/4.5/4.6 Regression] Incorrect output from abi::__cxa_demangle



------- Comment #13 from jakub at gcc dot gnu dot org  2010-06-10 15:16 -------
Subject: Bug 43838

Author: jakub
Date: Thu Jun 10 15:15:18 2010
New Revision: 160554

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160554
Log:
        PR other/43838
        * cp-demangle.c (struct d_print_info): Add flush_count field.
        (d_print_init): Initialize it to 0.
        (d_print_flush): Increment it.
        (d_print_comp): If needed flush before appending ", ".  Only
        decrement dpi->len if no flushes happened during the recursive
        call.
        * testsuite/demangle-expected: Add a test for this.

Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c
    trunk/libiberty/testsuite/demangle-expected


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43838


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]