]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/cp-demangle.c
libiberty/
authorgary <gary@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2014 09:13:44 +0000 (09:13 +0000)
committergary <gary@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2014 09:13:44 +0000 (09:13 +0000)
commitbb6c123500f8a6df2fdb5f91818ebdf7e67eaebe
treeb2237521f37447dc23a584161da7ce09557d3dc0
parent2e8bfa0b4d3d828bc723971653bb80d79f48f677
libiberty/
2014-05-08  Gary Benson  <gbenson@redhat.com>

* cp-demangle.c (struct d_component_stack): New structure.
(struct d_print_info): New field component_stack.
(d_print_init): Initialize the above.
(d_print_comp_inner): Renamed from d_print_comp.
Do not restore template stack if it would cause a loop.
(d_print_comp): New function.
* testsuite/demangle-expected: New test cases.

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