gcc/include
Jason Merrill 38179091cc PR c++/37376, other mangling issues
gcc/cp/:
        PR c++/37376, other mangling issues
        * mangle.c (write_type): Update TYPE_PACK_EXPANSION mangling.
        (write_member_name): Break out from...
        (write_expression): ...here.  Handle dependent COMPONENT_REF.
        (write_template_arg): Wrap an argument pack in 'I'/'E'.
        (write_builtin_type): Update char16/32_t mangling.
        (write_nested_name, write_prefix): Don't forget template args
        for typename types.
        * operators.def: Add ARROW_EXPR, update COMPONENT_REF and
        EXPR_PACK_EXPANSION.
libstdc++-v3/:
        * config/abi/pre/gnu.ver: Update char16/32_t manglings.
include/:
        * demangle.h (enum demangle_component_type): Add
        DEMANGLE_COMPONENT_PACK_EXPANSION.
libiberty/:
        * cp-demangle.c (struct d_print_info): Add pack_index.
        (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
        (d_make_comp): Likewise.  DEMANGLE_COMPONENT_ARGLIST and
        DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
        (cplus_demangle_builtin_types): Add char16/32_t.
        (cplus_demangle_type): Recognize them.
        (d_template_args): Handle empty argument packs.
        (d_template_arg): Handle argument packs.
        (d_expression): Handle dependent name.
        (d_index_template_argument): New fn.
        (d_lookup_template_argument): New fn.
        (d_find_pack, d_pack_length): New fn.
        (d_print_subexpr): Split out...
        (d_print_comp): ...from here.  Use d_*_template_argument.
        Handle empty arg lists.  Support pack expansions.
        * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.

From-SVN: r140916
2008-10-06 18:29:42 -04:00
..
ansidecl.h
ChangeLog PR c++/37376, other mangling issues 2008-10-06 18:29:42 -04:00
ChangeLog-9103 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
COPYING
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
demangle.h PR c++/37376, other mangling issues 2008-10-06 18:29:42 -04:00
dyn-string.h
fibheap.h
filenames.h * filenames.h: Add extern "C" when compiled with C++. 2008-03-21 23:35:07 +00:00
floatformat.h floatformat.h (struct floatformat): Add split_half field. 2007-11-08 00:08:02 +00:00
fnmatch.h
getopt.h
hashtab.h
libiberty.h libiberty.h (XALLOCA, [...]): New. 2008-06-24 01:42:31 +00:00
md5.h Fix this patch: 2008-03-25 00:19:55 +00:00
objalloc.h
obstack.h
partition.h
safe-ctype.h safe-ctype.h: Add #include of ctype.h before redefining the ctype.h macros. 2008-07-07 17:08:21 +00:00
sha1.h sha1.h: New file, from gnulib. 2008-03-25 00:54:53 +00:00
sort.h
splay-tree.h * splay-tree.h: Fix whitespace. 2007-07-13 18:18:48 +02:00
symcat.h
xregex2.h
xregex.h
xtensa-config.h xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero. 2008-02-11 17:53:16 +00:00