PR c++/89948 - ICE with break in statement-expr.
authorJason Merrill <jason@redhat.com>
Fri, 5 Apr 2019 02:52:23 +0000 (22:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 5 Apr 2019 02:52:23 +0000 (22:52 -0400)
commitce36ba09fe2c1b8523265e217f8cb478f50607c3
treede66712d85a783797871566058cfc25a93b551b7
parent950b198d4a3225cbec2d3408b947bf48057c5762
PR c++/89948 - ICE with break in statement-expr.

* constexpr.c (cxx_eval_statement_list): Jumping out of a
statement-expr is non-constant.

From-SVN: r270161
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/ext/stmtexpr23.C [new file with mode: 0644]