/cp
commit6fb57d296a0599fe5ed6150f3c2baf2de9a4c0c7
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jul 2014 16:22:19 +0000 (17 16:22 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jul 2014 16:22:19 +0000 (17 16:22 +0000)
tree7820b3ddb8ebdec0d390d01041a54e5fc591cb59
parent9556e4d0812e2d68b00c721674bf987186d2adf2
/cp
2014-07-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50961
* call.c (standard_conversion): Use resolve_nondeduced_context
for type_unknown_p (EXPR) && TREE_CODE (TO) == BOOLEAN_TYPE.

/testsuite
2014-07-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50961
* g++.dg/template/operator13.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212760 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/operator13.C [new file with mode: 0644]