From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3976 invoked by alias); 25 Sep 2007 13:59:06 -0000 Received: (qmail 3460 invoked by uid 48); 25 Sep 2007 13:58:46 -0000 Date: Tue, 25 Sep 2007 13:59:00 -0000 Message-ID: <20070925135846.3459.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg02074.txt.bz2 ------- Comment #27 from rguenth at gcc dot gnu dot org 2007-09-25 13:58 ------- tree-dse also miscompiles perls pp_pack.c. It removes the store to symptr->patend here: # MPT.498_212 = VDEF symptr_19(D)->patend = D.14885_146; lenptr.50_147 = (char *) patptr_128; # MPT.498_213 = VDEF symptr_19(D)->patptr = lenptr.50_147; # MPT.498_214 = VDEF D.14887_148 = S_measure_struct (my_perl_44(D), symptr_19(D)); ignoring the use by S_measure_struct. Which causes t/op/pack.t to fail. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |33383 nThis| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30375