@@ -3210,6 +3210,9 @@ early_ra::maybe_convert_to_strided_access (rtx_insn *insn)
void
early_ra::apply_allocation ()
{
+ for (auto *insn : m_dead_insns)
+ set_insn_deleted (insn);
+
rtx_insn *prev;
for (auto insn_range : m_insn_ranges)
for (rtx_insn *insn = insn_range.first;
new file mode 100644
@@ -0,0 +1,10 @@
+/* { dg-options "-fno-tree-dse -Ofast -fno-tree-coalesce-vars -fno-dce -fno-tree-dce" } */
+
+struct TV4 {
+ __attribute__((vector_size(sizeof(int) * 4))) int v;
+};
+void modify() {
+ struct TV4 __trans_tmp_1, temp;
+ temp.v[0] = temp.v[3] = 0;
+ __trans_tmp_1 = temp;
+}