OSDN Git Service

PR c++/37177
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 2009 16:09:22 +0000 (16:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 2009 16:09:22 +0000 (16:09 +0000)
commiteebd67e77cb2aac330d3449d78d40a3770238a97
tree0b5aca150e69844718e291632a5913000e0f6868
parentc90b5d400f562a31cf58dc58a8f330252133ac15
PR c++/37177
* pt.c (resolve_nondeduced_context): New.
* cvt.c (convert_to_void): Call it.
* semantics.c (finish_decltype_type): Likewise.
* typeck.c (decay_conversion): Here too.
* pt.c (tsubst_decl): Don't clobber input_location.
Don't register a bad specialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152564 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic-throw.C
gcc/testsuite/g++.dg/template/explicit-args2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/explicit-args3.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/crash58.C