diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-07-18 20:44:51 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-07-18 20:44:51 +0200 |
commit | 99516432c26d13ba2808daf860253b4f945336d9 (patch) | |
tree | b7206228efa3fec183b48d41c563424e0269dcde /gcc/tree-ssa-pre.c | |
parent | 87713c6a507659921278d32b66f2e344b7c4d124 (diff) | |
download | gcc-99516432c26d13ba2808daf860253b4f945336d9.zip gcc-99516432c26d13ba2808daf860253b4f945336d9.tar.gz gcc-99516432c26d13ba2808daf860253b4f945336d9.tar.bz2 |
re PR c++/71835 (ICE on invalid C++ code with ambiguous overloaded operators: tree check: expected tree that contains ‘decl minimal’ structure, have ‘pointer_type’ in convert_like_real, at cp/call.c:6549)
PR c++/71835
* call.c (build_op_call_1): Use convert_like_with_context only
if cand->fn is a decl.
* g++.dg/conversion/ambig3.C: New test.
From-SVN: r238443
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions