]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/68926 (decltype and sfinae to check for template instance availability...
authorJason Merrill <jason@redhat.com>
Wed, 10 Feb 2016 19:35:35 +0000 (14:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 Feb 2016 19:35:35 +0000 (14:35 -0500)
commit37fd2adbfccc3e888fb2a8cfc6fc32c34c635ece
tree567f94e1ed1377b63c3e8f5309620a3b5eebb430
parent5d879d47ef3bc981b4228e18542d035633d5a11b
re PR c++/68926 (decltype and sfinae to check for template instance availability fails to compile)

PR c++/68926

* pt.c (resolve_nondeduced_context): Add complain parm.
(do_auto_deduction): Pass it.
* cvt.c (convert_to_void): Likewise.
* decl.c (cp_finish_decl): Likewise.
* init.c (build_new): Likewise.
* rtti.c (get_tinfo_decl_dynamic): Likewise.
* semantics.c (finish_decltype_type): Likewise.
* typeck.c (decay_conversion): Likewise.
* cp-tree.h: Adjust declaration.

From-SVN: r233305
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/rtti.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cpp0x/sfinae56.C [new file with mode: 0644]