gcc/libiberty/testsuite
Marcel Böhme 1841e25ca5 re PR c++/71696 (Libiberty Demangler segfaults (6))
2016-08-04  Marcel Böhme  <boehme.marcel@gmail.com>

	PR c++/71696
	* cplus-dem.c: Prevent infinite recursion when there is a cycle
	in the referencing of remembered mangled types.
	(work_stuff): New stack to keep track of the remembered mangled
	types that are currently being processed.
	(push_processed_type): New method to push currently processed
	remembered type onto the stack.
	(pop_processed_type): New method to pop currently processed
	remembered type from the stack.
	(work_stuff_copy_to_from): Copy values of new variables.
	(delete_non_B_K_work_stuff): Free stack memory.
	(demangle_args): Push/Pop currently processed remembered type.
	(do_type): Do not demangle a cyclic reference and push/pop
	referenced remembered type.

From-SVN: r239143
2016-08-04 10:53:18 -06:00
..
d-demangle-expected d-demangle.c (dlang_call_convention): Handle extern Objective-C function calling convention. 2016-01-27 01:07:26 +00:00
demangle-expected re PR c++/71696 (Libiberty Demangler segfaults (6)) 2016-08-04 10:53:18 -06:00
demangler-fuzzer.c demangler-fuzzer.c: New file. 2014-08-13 15:56:38 +00:00
Makefile.in Makefile.tpl (EXTRA_HOST_EXPORTS): New variables. 2015-04-14 19:14:04 +03:00
test-demangle.c * testsuite/test-demangle.c: Include unistd.h. 2013-10-27 18:35:20 +00:00
test-expandargv.c * testsuite/test-expandargv.c: Include unistd.h. 2013-10-23 21:31:45 +00:00
test-pexecute.c
test-strtol.c Cast strtol return to unsigned long 2014-11-12 08:24:30 -08:00