]> 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:12:32 +0000 (14:12 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 Feb 2016 19:12:32 +0000 (14:12 -0500)
commit46f0d909aa9f55f5780128ffd6e15e6d628e9a7b
tree9da088c90297b614b71f8123a6d2364a9718a18e
parent4b48faf54877d35a6ca26d2ae08586a7696be5f7
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.
* call.c (standard_conversion): Add complain parm, pass it along.
(implicit_conversion): Pass it.

From-SVN: r233304
gcc/cp/ChangeLog
gcc/cp/call.c
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]