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

2010-06-14 Thread jakub at gcc dot gnu dot org


--- Comment #16 from jakub at gcc dot gnu dot org  2010-06-14 08:43 ---
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



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

2010-06-10 Thread jakub at gcc dot gnu dot org


--- 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  

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



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

2010-06-10 Thread jakub at gcc dot gnu dot org


--- 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



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

2010-06-10 Thread jakub at gcc dot gnu dot org


--- 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



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

2010-06-09 Thread jakub at gcc dot gnu dot org


--- Comment #12 from jakub at gcc dot gnu dot org  2010-06-09 18:09 ---
I see the bug.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2010-06-08 17:57:00 |2010-06-09 18:09:12
   date||


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



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

2010-06-09 Thread jakub at gcc dot gnu dot org


--- Comment #11 from jakub at gcc dot gnu dot org  2010-06-09 17:24 ---
Can be reproduced also with
c++filt
_ZN5boost6tuples5tupleIN23abcdefgxyzzzabb3AaaENS2_4klmn16BaaaENS0_9null_typeES6_S6_S6_S6_S6_S6_S6_EE


-- 


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



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

2010-06-09 Thread paolo dot carlini at oracle dot com


--- Comment #10 from paolo dot carlini at oracle dot com  2010-06-09 17:05 
---
Thanks HJ.


-- 


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



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

2010-06-09 Thread hjl dot tools at gmail dot com


--- Comment #9 from hjl dot tools at gmail dot com  2010-06-09 16:56 ---
It is caused by revision 142799:

http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00498.html


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 CC||jason at redhat dot com
   Target Milestone|--- |4.4.5


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



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

2010-06-09 Thread paolo dot carlini at oracle dot com


--- Comment #8 from paolo dot carlini at oracle dot com  2010-06-09 09:37 
---
Recategorizing as other (like 42230)... and maybe HJ is interested in playing a
bit with this one too.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 CC||hjl dot tools at gmail dot
   ||com
  Component|libstdc++   |other


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