https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372

--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Aug 17 01:34:00 2019
New Revision: 274597

URL: https://gcc.gnu.org/viewcvs?rev=274597&root=gcc&view=rev
Log:
        PR c++/90393 - ICE with throw in ?:

I fixed the DR 1560 implementation properly for GCC 10, but for GCC 9 feel
that it's better not to change the meaning of well-formed code.  Reverting
the incomplete implementation fixes the ICEs.

        * call.c (build_conditional_expr_1): Revert changes from
        PR c++/64372 and c++/86205.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/expr/cond15.C
    branches/gcc-9-branch/gcc/testsuite/g++.dg/expr/cond16.C
Removed:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp1y/dr1560.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/call.c

Reply via email to