diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-05-31 08:51:20 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-05-31 08:51:20 +0000 |
commit | cab421f485bcfb57ba793133ad55a64f6abe4c43 (patch) | |
tree | 1f3efe38c71709e695cad44c3bb889094a2382e5 /gcc/tree-streamer-in.c | |
parent | f5fb306951b24ee701ffc06871b7ef118925bbbd (diff) | |
download | gcc-cab421f485bcfb57ba793133ad55a64f6abe4c43.zip gcc-cab421f485bcfb57ba793133ad55a64f6abe4c43.tar.gz gcc-cab421f485bcfb57ba793133ad55a64f6abe4c43.tar.bz2 |
DR 1227 PR c++/57543
/cp
2014-05-31 Paolo Carlini <paolo.carlini@oracle.com>
DR 1227
PR c++/57543
* cp-tree.h (TYPE_HAS_LATE_RETURN_TYPE): Add.
* pt.c (tsubst_function_type): Inject the this parameter; do the
substitutions in the order mandated by the DR.
(copy_default_args_to_explicit_spec): Copy TYPE_HAS_LATE_RETURN_TYPE.
* decl.c (grokdeclarator): Maybe set TYPE_HAS_LATE_RETURN_TYPE.
(static_fn_type): Copy it.
* decl2.c (build_memfn_type, change_return_type,
cp_reconstruct_complex_type): Likewise.
* parser.c (cp_parser_lambda_declarator_opt): Likewise.
* tree.c (strip_typedefs): Likewise.
* typeck.c (merge_types): Likewise.
/testsuite
2014-05-31 Paolo Carlini <paolo.carlini@oracle.com>
DR 1227
PR c++/57543
* g++.dg/cpp0x/pr57543-1.C: New.
* g++.dg/cpp0x/pr57543-2.C: Likewise.
* g++.dg/cpp0x/pr57543-3.C: Likewise.
* g++.dg/cpp0x/decltype59.C: Likewise.
From-SVN: r211102
Diffstat (limited to 'gcc/tree-streamer-in.c')
0 files changed, 0 insertions, 0 deletions