A wine testcase started failing with the trunk compiler some days ago.

The difference is pretty obivous in the tree dump:
diff -u encode.c.056t.dce3 encode.c.057t.dse1 
--- encode.c.056t.dce3  2007-01-04 23:03:14.000000000 +0100
+++ encode.c.057t.dse1  2007-01-04 23:03:14.000000000 +0100
@@ -52,7 +52,6 @@
   int iftmp.507;

 <bb 2>:
-  info = {};
   point = {};
   entry = {};
   buf = 0B;


However, if you look at it, info is clearly used right below.

I will attach .i, and the two dump files.


-- 
           Summary: tree-ssa-dse incorrectly removes struct initialization
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marcus at jet dot franken dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30375

Reply via email to