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 22:39:43 +01:00
|
|
|
2012-01-06 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
* testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
|
|
|
|
expected demangling.
|
|
|
|
|
2012-01-06 02:26:06 +01:00
|
|
|
2012-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
|
|
|
|
|
|
|
|
PR libstdc++/51504
|
|
|
|
* doc/xml/manual/debug.xml: Suggest using symbol interposition
|
|
|
|
to override symbols using annotation macros.
|
|
|
|
|
2012-01-05 21:59:17 +01:00
|
|
|
2012-01-05 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
* include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
|
|
|
|
protected rather than private, use it...
|
|
|
|
* include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
|
|
|
|
* testsuite/23_containers/unordered_set/observers.cc: New.
|
|
|
|
* testsuite/23_containers/unordered_multiset/observers.cc: New.
|
|
|
|
* testsuite/23_containers/unordered_map/observers.cc: New.
|
|
|
|
* testsuite/23_containers/unordered_multimap/observers.cc: New.
|
|
|
|
|
|
|
|
2012-01-03 François Dumont <fdumont@gcc.gnu.org>
|
2012-01-05 21:50:51 +01:00
|
|
|
|
|
|
|
* include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
|
|
|
|
specific _Hashtable_ebo_helper. Hide this implementation detail thanks
|
|
|
|
to private inheritance.
|
|
|
|
|
|
|
|
2012-01-03 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
PR c++/51738
|
|
|
|
* testsuite/23_containers/map/element_access/39901.cc: New.
|