This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug tree-optimization/16867] [3.5 Regression] Inline array initializer miscompilation at -O
- From: "mckinlay at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 3 Aug 2004 22:24:44 -0000
- Subject: [Bug tree-optimization/16867] [3.5 Regression] Inline array initializer miscompilation at -O
- References: <20040803204738.16867.mckinlay@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mckinlay at redhat dot com 2004-08-03 22:24 -------
FYI making this change in tree-ssa-dce works around the problem:
--- tree-ssa-dce.c 28 Jul 2004 05:13:08 -0000 2.11
+++ tree-ssa-dce.c 3 Aug 2004 22:23:24 -0000
@@ -393,7 +393,6 @@
for (i = 0; i < NUM_V_MAY_DEFS (v_may_defs); i++)
{
tree v_may_def = V_MAY_DEF_RESULT (v_may_defs, i);
- if (need_to_preserve_store (v_may_def))
{
mark_stmt_necessary (stmt, true);
return;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16867