gcc/libiberty/testsuite
Mark Wielaard a46586c34f Fix PR demangler/70909 and 67264 (endless demangler recursion)
ChangeLog:

       PR demangler/70909
       PR demangler/67264
       * include/demangle.h: Add d_printing to struct demangle_component
       and pass struct demangle_component as non const.

libiberty/ChangeLog:

       PR demangler/70909
       PR demangler/67264
       * cp-demangle.c: Fix endless recursion. Pass
       struct demangle_component as non const.
       (d_make_empty): Initialize variable.
       (d_print_comp_inner): Limit recursion.
       (d_print_comp): Decrement variable.
       * cp-demint.c (cplus_demangle_fill_component): Initialize
       variable.
       (cplus_demangle_fill_builtin_type): Likewise.
       (cplus_demangle_fill_operator): Likewise.
       * testsuite/demangle-expected: Add tests.

From-SVN: r245978
2017-03-08 14:28:38 +00:00
..
d-demangle-expected
demangle-expected Fix PR demangler/70909 and 67264 (endless demangler recursion) 2017-03-08 14:28:38 +00:00
demangler-fuzzer.c Update copyright years. 2017-01-04 12:30:51 +01:00
Makefile.in Update copyright years. 2017-01-04 12:30:51 +01:00
rust-demangle-expected libiberty: Add Rust symbol demangling. 2016-11-16 23:09:27 +00:00
test-demangle.c Update copyright years. 2017-01-04 12:30:51 +01:00
test-expandargv.c Update copyright years. 2017-01-04 12:30:51 +01:00
test-pexecute.c Update copyright years. 2017-01-04 12:30:51 +01:00
test-strtol.c Update copyright years. 2017-01-04 12:30:51 +01:00