]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 26 Oct 2011 17:59:36 +0000 (17:59 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 26 Oct 2011 17:59:36 +0000 (17:59 +0000)
commitc5ce25ce936111be5585cd18f882b0730ab2f787
tree62555b15a9bad6e10330aa38fba2c5c300e998e6
parente3c1bb6126be4d0b44083f77952321566748fbe6
re PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments)

2011-10-26  Paolo Carlini  <paolo.carlini@oracle.com>

* typeck.c (cp_build_addr_expr_1): Use BASELINK_P.
* class.c (instantiate_type): Likewise.
* pt.c (convert_nontype_argument_function, uses_template_parms,
tsubst_copy, resolve_nondeduced_context, type_dependent_expression_p):
Likewise.
* semantics.c (finish_decltype_type): Likewise.
* decl2.c (mark_used): Likewise.
* name-lookup.c (arg_assoc): Likewise.

/cp
2011-10-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50870
* typeck.c (non_reference): Pass NULL_TREE through.

/testsuite
2011-10-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50870
* g++.dg/cpp0x/decltype34.C: New.

From-SVN: r180531
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl2.c
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype34.C [new file with mode: 0644]