This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/16867] [3.5 Regression] Inline array initializer miscompilation at -O


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]