OK to cherry-pick r179209 from gcc-4_6-branch to google/gcc-4_6?

http://gcc.gnu.org/ml/gcc-cvs/2011-09/msg00828.html

-cary


include/ChangeLog:

        PR 40831
        * demangle.h (enum demangle_component_type): Add
        DEMANGLE_COMPONENT_CLONE.

libiberty/ChangeLog:

        PR 40831
        * cp-demangle.c (d_make_comp): Add new component type.
        (cplus_demangle_mangled_name): Check for clone suffixes.
        (d_parmlist): Don't error out if we see '.'.
        (d_clone_suffix): New function.
        (d_print_comp): Print info for clone suffixes.
        * testsuite/demangle-expected: Add new testcases.

Reply via email to