-
- Downloads
decl.c (grokfndecl): Set DECL_CONTEXT on parms.
cp/: * decl.c (grokfndecl): Set DECL_CONTEXT on parms. (duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms. * pt.c (check_explicit_specialization): Likewise. (tsubst_copy) [PARM_DECL]: Return a dummy parm if we don't have a local specialization. * tree.c (cp_tree_equal) [PARM_DECL]: Check type and index, not name. * decl2.c (parm_index): New fn. * semantics.c (finish_decltype_type): Don't use describable_type. * mangle.c (write_expression): Likewise. Mangle ALIGNOF_EXPR. Give a sorry for unsupported codes rather than crash. Mangle conversions with other than 1 operand. New mangling for PARM_DECL. * operators.def (ALIGNOF_EXPR): Mangle as az. * include/demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_FUNCTION_PARAM. * libiberty/cp-demangle.c (d_make_function_param): new fn. (cplus_demangle_mangled_name): Work around abi v2 bug. (d_expr_primary): Likewise. (cplus_demangle_operators): Add alignof ops. (d_expression): Handle function parameters and conversions with other than 1 operand. (d_print_comp): Handle function parameters. Fix bug with function used in type of function. From-SVN: r144924
Showing
- gcc/cp/ChangeLog 15 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/cp-tree.h 1 addition, 0 deletionsgcc/cp/cp-tree.h
- gcc/cp/decl.c 19 additions, 3 deletionsgcc/cp/decl.c
- gcc/cp/decl2.c 23 additions, 0 deletionsgcc/cp/decl2.c
- gcc/cp/mangle.c 41 additions, 34 deletionsgcc/cp/mangle.c
- gcc/cp/operators.def 1 addition, 1 deletiongcc/cp/operators.def
- gcc/cp/pt.c 16 additions, 14 deletionsgcc/cp/pt.c
- gcc/cp/semantics.c 0 additions, 2 deletionsgcc/cp/semantics.c
- gcc/cp/tree.c 2 additions, 3 deletionsgcc/cp/tree.c
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/cpp0x/auto12.C 6 additions, 6 deletionsgcc/testsuite/g++.dg/cpp0x/auto12.C
- gcc/testsuite/g++.dg/cpp0x/auto6.C 8 additions, 8 deletionsgcc/testsuite/g++.dg/cpp0x/auto6.C
- include/ChangeLog 5 additions, 0 deletionsinclude/ChangeLog
- include/demangle.h 4 additions, 2 deletionsinclude/demangle.h
- libiberty/ChangeLog 12 additions, 0 deletionslibiberty/ChangeLog
- libiberty/cp-demangle.c 63 additions, 8 deletionslibiberty/cp-demangle.c
- libiberty/testsuite/demangle-expected 11 additions, 7 deletionslibiberty/testsuite/demangle-expected
Loading
Please register or sign in to comment