From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6607 invoked by alias); 18 Sep 2006 17:19:14 -0000 Received: (qmail 6558 invoked by alias); 18 Sep 2006 17:19:05 -0000 Date: Mon, 18 Sep 2006 17:19:00 -0000 Message-ID: <20060918171905.6557.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at physics dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg01723.txt.bz2 List-Id: ------- Comment #8 from pinskia at physics dot uc dot edu 2006-09-18 17:19 ------- Subject: Re: [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test On Mon, 2006-09-18 at 13:48 +0000, ebotcazou at gcc dot gnu dot org wrote: > > ------- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-09-18 13:48 ------- > > + /* TER is not run at -O0, so our representation of alignment > > + information and its propagation is non-existant. */ > > + if (!optimize) > > + return 0; > > Perhaps > > if (!flag_tree_ter) > return 0; > > would be more accurate? Well -f{no-,}tree-ter can be still passed and you will get it wrong, what about: if (!optimize || !flag_tree_ter) return 0; Thanks, Andrew Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29111