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

Author: jakub
Date: Thu Jun 10 15:24:11 2010
New Revision: 160555

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160555
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:
    branches/gcc-4_5-branch/libiberty/ChangeLog
    branches/gcc-4_5-branch/libiberty/cp-demangle.c
    branches/gcc-4_5-branch/libiberty/testsuite/demangle-expected


-- 


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

Reply via email to