diff options
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 8337b36..e5713dd 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -3990,12 +3990,10 @@ gimplify_cond_expr (tree *expr_p, gimple_seq *pre_p, fallback_t fallback) 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. */ |