PR c++/87893 - constexpr ctor ICE on ARM.
authorJason Merrill <jason@redhat.com>
Wed, 23 Jan 2019 13:54:23 +0000 (08:54 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 23 Jan 2019 13:54:23 +0000 (08:54 -0500)
commit4d0c18c601bafe272e9c5093cfbb15a875710440
treeb2c4f66e110254f441660524593bb55d883fddf0
parent561fd08128381a5b37569b465f55cb4cac1f3b14
PR c++/87893 - constexpr ctor ICE on ARM.

PR c++/88293 - ICE with comma expression.
* constexpr.c (initialized_type): Don't shortcut non-void type.
Handle COMPOUND_EXPR.
(cxx_eval_outermost_constant_expr): Return early for void type.

From-SVN: r268185
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/constexpr-comma1.C [new file with mode: 0644]