constexpr-new.C
301 Bytes
-
Fix c++/67371 (issues with throw in constexpr) · ce965730
As PR67371 shows gcc currently rejects all throw statements in constant-expressions, even when they are never executed. PR c++/67371 * constexpr.c (potential_constant_expression_1): Remove IF_STMT case. Move label to COND_EXPR case. Remove checking of SWITCH_STMT_BODY. From-SVN: r227323
Markus Trippelsdorf committed