Message ID | 2201f3e6-ad3c-4baa-b683-8abe84ddb668@ventanamicro.com |
---|---|
State | New |
Headers | show |
Series | [committed,PR,rtl-optimization/115877] Fix livein computation for ext-dce | expand |
diff --git a/gcc/ext-dce.cc b/gcc/ext-dce.cc index 6d4b8858ec6..c4c38659701 100644 --- a/gcc/ext-dce.cc +++ b/gcc/ext-dce.cc @@ -591,8 +678,10 @@ ext_dce_process_uses (rtx_insn *insn, rtx obj, bitmap live_tmp) making things live. Breaking from this loop will cause the iterator to work on sub-rtxs, so it is safe to break if we see something we don't know how to handle. */ + unsigned HOST_WIDE_INT save_mask = dst_mask; for (;;) { + dst_mask = save_mask; /* Strip an outer paradoxical subreg. The bits outside the inner mode are don't cares. So we can just strip and process the inner object. */