This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/37328] [4.4 Regression] ACATS la14021 ICE in gimple_assign_set_rhs1, at gimple.h:1747
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2008 13:20:34 -0000
- Subject: [Bug ada/37328] [4.4 Regression] ACATS la14021 ICE in gimple_assign_set_rhs1, at gimple.h:1747
- References: <bug-37328-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2008-09-02 13:20 -------
Probably the following will fix that...
*************** generate_copy_inout (struct sra_elt *elt
*** 2597,2604 ****
t = build2 (COMPLEX_EXPR, elt->type, r, i);
tmp_seq = sra_build_bf_assignment (expr, t);
! gcc_assert (gimple_seq_singleton_p (tmp_seq));
! SSA_NAME_DEF_STMT (expr) = gimple_seq_first_stmt (tmp_seq);
gimple_seq_add_seq (seq_p, tmp_seq);
}
else if (elt->replacement)
--- 2599,2605 ----
t = build2 (COMPLEX_EXPR, elt->type, r, i);
tmp_seq = sra_build_bf_assignment (expr, t);
! SSA_NAME_DEF_STMT (expr) = gimple_seq_last_stmt (tmp_seq);
gimple_seq_add_seq (seq_p, tmp_seq);
}
else if (elt->replacement)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37328