Adjust fix PR c++/68948
authorPatrick Palka <ppalka@gcc.gnu.org>
Fri, 19 Feb 2016 17:04:29 +0000 (17:04 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Fri, 19 Feb 2016 17:04:29 +0000 (17:04 +0000)
commit200e869c8f2ce63376d5985f3f1030c1d1ca869f
tree937eb3520803ea011aaae09888625a3c3605e742
parentde4fcb999f51400b52d3b9b81606a57883c3c1ea
Adjust fix PR c++/68948

gcc/cp/ChangeLog:

PR c++/68948
* pt.c (tsubst_baselink): Don't diagnose an invalid constructor
call here.
* semantics.c (finish_call_expr): Don't assume a constructor
call is dependent if only the "this" pointer is dependent.  When
building a constructor call, always use a dummy object.

From-SVN: r233563
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c