PR c++/89876 - ICE with deprecated conversion.
authorMarek Polacek <polacek@redhat.com>
Fri, 29 Mar 2019 18:40:31 +0000 (18:40 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 29 Mar 2019 18:40:31 +0000 (18:40 +0000)
commitc072398e0f99551edb513735ef7c648f90a68eb6
treec829c5935bdf12e238c754f9100de0b368689eec
parenta1c56deaa2d0e9d345374e8062671038f43b0b47
PR c++/89876 - ICE with deprecated conversion.

* call.c (convert_like_real): Only give warnings with tf_warning.

* g++.dg/warn/conv5.C: New test.

From-SVN: r270021
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/conv5.C [new file with mode: 0644]