------- Comment #15 from jakub at gcc dot gnu dot org 2010-06-10 15:32 ------- Subject: Bug 43838
Author: jakub Date: Thu Jun 10 15:31:56 2010 New Revision: 160556 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160556 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. 2009-06-16 Nick Clifton <ni...@redhat.com> PR 10197 * testsuite/test-demangle.c: Rename getline to get_line to avoid conflicts with system function of the same name. Modified: branches/gcc-4_4-branch/libiberty/ChangeLog branches/gcc-4_4-branch/libiberty/cp-demangle.c branches/gcc-4_4-branch/libiberty/testsuite/demangle-expected branches/gcc-4_4-branch/libiberty/testsuite/test-demangle.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43838