From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21151 invoked by alias); 15 Sep 2008 01:04:47 -0000 Received: (qmail 20790 invoked by uid 48); 15 Sep 2008 01:03:26 -0000 Date: Mon, 15 Sep 2008 01:04:00 -0000 Message-ID: <20080915010326.20789.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/37102] [4.3/4.4 Regression] out-of-SSA is broken In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "lthode at mail dot unomaha dot edu" 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: 2008-09/txt/msg01743.txt.bz2 ------- Comment #11 from lthode at mail dot unomaha dot edu 2008-09-15 01:03 ------- (In reply to comment #9) > Thanks for the explanation, for the branch I would recommend an extra DCE > pass right before pass_del_ssa. On the trunk we need to make sure to run > this at -O0 as well. Note that the simple DCE can leave dead statements > around, only control-dependent DCE will make sure to not retain any > DCE opportunities. > Well, I tried just that (running CD-DCE right before Out-of-SSA independent of optimization level) on the trunk, and 16 Fortran testcases blow up (with an ICE in Out-of-SSA) at -O0 due to it. However, turning optimization on makes them compile again, so running DCE at -O0 isn't such a great idea. On the other hand, this should be easy enough to fix on the branch, as we can just run the pass if optimization is enabled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37102