https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Fri Nov 8 21:52:39 2019 New Revision: 277992 URL: https://gcc.gnu.org/viewcvs?rev=277992&root=gcc&view=rev Log: PR c++/90998 - ICE with copy elision in init by ctor and -Wconversion. * call.c (joust): Don't attempt to warn if ->second_conv is null. * g++.dg/cpp0x/overload-conv-4.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/overload-conv-4.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/call.c