Message ID | nycvar.YFH.7.76.1910171157050.5566@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Series | Fix TARGET_MEM_REF handling in PRE | expand |
Index: gcc/tree-ssa-pre.c =================================================================== --- gcc/tree-ssa-pre.c (revision 277094) +++ gcc/tree-ssa-pre.c (working copy) @@ -2492,7 +2492,7 @@ create_component_ref_by_pieces_1 (basic_ case TARGET_MEM_REF: { tree genop0 = NULL_TREE, genop1 = NULL_TREE; - vn_reference_op_t nextop = &ref->operands[++*operand]; + vn_reference_op_t nextop = &ref->operands[(*operand)++]; tree baseop = create_component_ref_by_pieces_1 (block, ref, operand, stmts); if (!baseop)