PR c++/84441 - ICE with base initialized from ?:
authorJason Merrill <jason@redhat.com>
Tue, 27 Feb 2018 02:45:12 +0000 (21:45 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 27 Feb 2018 02:45:12 +0000 (21:45 -0500)
commita2444ce97021c7a1e9afe05d014435c4c6933659
treee2fbfb8b75f6eb16b0beabd4d2cbf3b92fcdae25
parentab5f26bba1270e16317188fe1070df05ab89bb00
PR c++/84441 - ICE with base initialized from ?:

* call.c (unsafe_copy_elision_p): Handle COND_EXPR.

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