[PR C++/83287] Mark lookup for keeping
authorNathan Sidwell <nathan@acm.org>
Tue, 5 Dec 2017 17:29:58 +0000 (17:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 5 Dec 2017 17:29:58 +0000 (17:29 +0000)
commitea9e71de65fd640620938a463d30408f92fea8d1
tree8307d62b3dda38e165d0f92bb11a59ed9e7ca38c
parent7109d224774bce3eb27e945b2e2f7ec9d7620fa9
[PR C++/83287] Mark lookup for keeping

https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00242.html
PR c++/83287
* tree.c (build_min): Check CAST_EXPR arg for OVERLOADs.

* g++.dg/lookup/pr83287.C: New.

From-SVN: r255429
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr83287.C [new file with mode: 0644]