re PR c++/46831 ([C++0x] Crash when it tries to do an invalid ICS with a conversion...
authorJason Merrill <jason@redhat.com>
Mon, 21 Feb 2011 01:50:39 +0000 (20:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 21 Feb 2011 01:50:39 +0000 (20:50 -0500)
commit086bb4b9cd0780609f150e03cad8490bb734ccd8
tree8eb16863b96940d91a2783d42f906f4031cf7dc4
parent58b0a7004dcb4584d3708d187feecbc9bdde11e5
re PR c++/46831 ([C++0x] Crash when it tries to do an invalid ICS with a conversion function template)

PR c++/46831
* call.c (convert_class_to_reference): Don't try to set up a
second conv sequence for non-viable candidates.

From-SVN: r170354
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2.C [new file with mode: 0644]