+2019-05-24 Jason Merrill <jason@redhat.com>
+
+ Revert:
+ * gimplify.c (gimplify_cond_expr): Don't check TREE_ADDRESSABLE.
+
2019-05-24 Richard Biener <rguenther@suse.de>
PR testsuite/90607
tree result;
/* If either an rvalue is ok or we do not require an lvalue, create the
- temporary. We cannot do that if the type is addressable, but
- that should have been avoided before we got here. */
+ temporary. But we cannot do that if the type is addressable. */
if (((fallback & fb_rvalue) || !(fallback & fb_lvalue))
- && (flag_checking || !TREE_ADDRESSABLE (type)))
+ && !TREE_ADDRESSABLE (type))
{
- gcc_assert (!TREE_ADDRESSABLE (type));
if (gimplify_ctxp->allow_rhs_cond_expr
/* If either branch has side effects or could trap, it can't be
evaluated unconditionally. */