]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/commit
PR other/43838
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Jun 2010 15:42:01 +0000 (15:42 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 10 Jun 2010 15:42:01 +0000 (15:42 +0000)
commita409912b50899a8c1f74532751d517de6b77f929
treefe029719d58080e808decccde9aa3cf6d38ec575
parent775a979f370bf2eab750c4d31bdc705d8f2dd093
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.
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected