gcc/libstdc++-v3/testsuite
Jason Merrill 4b6aaa996e re PR c++/6057 (expression mangling doesn't work for operator new)
PR c++/6057
	PR c++/48051
	PR c++/50855
	PR c++/51322
gcc/cp/
	* mangle.c (write_expression): Support NEW_EXPR, DELETE_EXPR,
	THROW_EXPR, CONSTRUCTOR, OVERLOAD.  Fix PREINCREMENT_EXPR and
	PREDECREMENT_EXPR.
	(write_template_arg): Fix mangling of class-scope functions and
	argument packs.
	(mangle_decl): Update suggested -fabi-version argument.
	* operators.def: Add DOTSTAR_EXPR, REINTERPRET_CAST_EXPR,
	DYNAMIC_CAST_EXPR; correct CONST_CAST_EXPR, STATIC_CAST_EXPR.
	* tree.c (dependent_name): No longer static.
	* cp-tree.h: Declare it.
	* pt.c (unify): Defer handling of unconverted functions.
include/
	* demangle.h (enum demangle_component_type): Add
	DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY.
libiberty/
	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
	DEMANGLE_COMPONENT_INITIALIZER_LIST.
	(d_make_comp): Likewise.  Allow null right arg for
	DEMANGLE_COMPONENT_TRINARY_ARG2.
	(cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
	(d_template_args, d_template_arg): Handle 'J' for argument packs.
	(d_exprlist): Add terminator parm.
	(d_expression, d_print_comp): Handle initializer lists, nullary
	expressions, prefix/suffix operators, and new.
	(d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
	and DEMANGLE_COMPONENT_INITIALIZER_LIST.
	* testsuite/demangle-expected: Add tests.

From-SVN: r182970
2012-01-06 16:39:43 -05:00
..
17_intro re PR libstdc++/49745 (error: ‘int truncate’ redeclared as different kind of symbol) 2011-07-15 21:52:06 +00:00
18_support re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
19_diagnostics re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
20_util re PR libstdc++/51365 (cannot use final empty class in std::tuple) 2011-12-20 09:09:50 +00:00
21_strings class.c (add_implicitly_declared_members): Update move conditions. 2011-11-17 11:35:11 -05:00
22_locale 9780-2.cc: Add test for "C" locale, add sanity checks in case of grouping. 2011-12-15 19:02:51 +00:00
23_containers hashtable_policy.h (_Hashtable_base<>::_M_eq()): protected rather than private, use it... 2012-01-05 20:59:17 +00:00
24_iterators assign_neg.cc: Tidy dg- directives, for C++0x testing too. 2011-10-06 14:43:26 +00:00
25_algorithms stl_heap.h (pop_heap): Check for non-empty range in overload taking a predicate. 2011-12-04 13:21:53 +00:00
26_numerics re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained) 2011-11-12 15:57:03 +00:00
27_io re PR libstdc++/51288 ([C++0x] get_money implementation is missing the sentry object (does not skip leading whitespace)) 2011-11-28 13:24:23 +00:00
28_regex re PR libstdc++/51711 (regex.h contains incorrect code) 2011-12-30 11:40:37 +00:00
29_atomics c-family 2011-11-28 20:28:23 +00:00
30_threads re PR libstdc++/51296 (Several 30_threads tests FAIL on Tru64 UNIX) 2011-11-26 15:15:22 +00:00
abi re PR c++/6057 (expression mangling doesn't work for operator new) 2012-01-06 16:39:43 -05:00
backward re PR libstdc++/49060 (use of deleted memory in __gnu_cxx::hashtable::erase) 2011-05-25 23:09:14 +00:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
ext basic_string.h (basic_string::at): Move adjacent to other overload. 2011-11-07 00:06:23 +00:00
lib acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
libstdc++-abi configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
libstdc++-dg [multiple changes] 2011-10-18 02:58:06 +00:00
libstdc++-prettyprinters re PR libstdc++/48362 (pretty printer fails for zero-size std::tuple<>) 2011-12-22 18:58:15 +00:00
performance search_n.cc: Disambiguate local variable. 2011-12-19 23:29:14 +00:00
tr1 weak_ptr_expired.cc: Modify to PASS instead of XFAIL. 2011-12-23 17:31:00 +00:00
tr2 [multiple changes] 2011-10-19 22:05:26 +00:00
util hashtable.h (_Hashtable<>::emplace, [...]): Add. 2011-12-09 20:01:04 +00:00
Makefile.am configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
Makefile.in Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00