]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/gcc-tumbl.git/commit
PR other/43838
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 2010 15:15:18 +0000 (15:15 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 2010 15:15:18 +0000 (15:15 +0000)
commitf2ba0f87827980623494a659d5188a57b3b1bb07
treef174971e55e9632277db22acbf4cb9e81140fd3c
parentabf6a6177a213072a1de6bbec0045276b77c64e1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160554 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected