r236451 - in /branches/gcc-5-branch: include/Ch...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu May 19 10:40:00 GMT 2016


Author: jakub
Date: Thu May 19 10:40:57 2016
New Revision: 236451

URL: https://gcc.gnu.org/viewcvs?rev=236451&root=gcc&view=rev
Log:
	Backported from mainline
	2015-11-27  Pedro Alves  <palves@redhat.com>

	PR other/61321
	PR other/61233
	* demangle.h (enum demangle_component_type)
	<DEMANGLE_COMPONENT_CONVERSION>: New value.

	* cp-demangle.c (d_demangle_callback, d_make_comp): Handle
	DEMANGLE_COMPONENT_CONVERSION.
	(is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
	instead of DEMANGLE_COMPONENT_CAST.
	(d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
	component if handling a conversion.
	(d_count_templates_scopes, d_print_comp_inner): Handle
	DEMANGLE_COMPONENT_CONVERSION.
	(d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
	of DEMANGLE_COMPONENT_CAST.
	(d_print_cast): Rename as ...
	(d_print_conversion): ... this.  Adjust comments.
	(d_print_cast): Rewrite - simply print the left subcomponent.
	* cp-demint.c (cplus_demangle_fill_component): Handle
	DEMANGLE_COMPONENT_CONVERSION.

	* testsuite/demangle-expected: Add tests.

Modified:
    branches/gcc-5-branch/include/ChangeLog
    branches/gcc-5-branch/include/demangle.h
    branches/gcc-5-branch/libiberty/ChangeLog
    branches/gcc-5-branch/libiberty/cp-demangle.c
    branches/gcc-5-branch/libiberty/cp-demint.c
    branches/gcc-5-branch/libiberty/testsuite/demangle-expected



More information about the Gcc-cvs mailing list