* gimplify.c (gimplify_addr_expr) <MEM_REF>: New case.
From-SVN: r228828
This commit is contained in:
parent
4c1f41e152
commit
903eccd1d5
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2015-10-14 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gimplify.c (gimplify_addr_expr) <MEM_REF>: New case.
|
||||
|
||||
2015-10-14 Peter Bergner <bergner@vnet.ibm.com>
|
||||
Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
|
|
|
@ -4985,6 +4985,12 @@ gimplify_addr_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p)
|
|||
ret = GS_OK;
|
||||
break;
|
||||
|
||||
case MEM_REF:
|
||||
if (integer_zerop (TREE_OPERAND (op0, 1)))
|
||||
goto do_indirect_ref;
|
||||
|
||||
/* ... fall through ... */
|
||||
|
||||
default:
|
||||
/* If we see a call to a declared builtin or see its address
|
||||
being taken (we can unify those cases here) then we can mark
|
||||
|
|
Loading…
Add table
Reference in a new issue