===================================================================
@@ -8844,15 +8844,9 @@ gimplify_expr (tree *expr_p, gimple_seq
rvalue. */
if ((fallback & fb_lvalue)
&& gimple_seq_empty_p (internal_post)
- && is_gimple_addressable (*expr_p))
- {
- /* An lvalue will do. Take the address of the expression, store it
- in a temporary, and replace the expression with an INDIRECT_REF of
- that temporary. */
- tmp = build_fold_addr_expr_loc (input_location, *expr_p);
- gimplify_expr (&tmp, pre_p, post_p, is_gimple_reg, fb_rvalue);
- *expr_p = build_simple_mem_ref (tmp);
- }
+ && is_gimple_lvalue (*expr_p))
+ /* An lvalue will do and we already have one. */
+ ;
else if ((fallback & fb_rvalue) && is_gimple_reg_rhs_or_call (*expr_p))
{
/* An rvalue will do. Assign the gimplified expression into a