re PR c++/36407 (ICE with conversion and -fpermissive)
authorDodji Seketeli <dseketel@redhat.com>
Fri, 18 Jul 2008 20:40:42 +0000 (20:40 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Fri, 18 Jul 2008 20:40:42 +0000 (22:40 +0200)
commit6b3a665caf8ddc83110639630d7feb021d58ed63
tree209be48652f4bb8abd049d6f3e195676e874af76
parentc466b2cd136139e0e9fef6019fa6f136e23c7a4c
re PR c++/36407 (ICE with conversion and -fpermissive)

2008-07-18  Dodji Seketeli  <dseketel@redhat.com>

PR c++/36407
* call.c (convert_like_real): Don't take the error code path
  when a rvalue or base conversion has the bad_p field set.

From-SVN: r137966
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/op5.C [new file with mode: 0644]