From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22892 invoked by alias); 30 Apr 2003 10:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22878 invoked by uid 71); 30 Apr 2003 10:56:00 -0000 Date: Wed, 30 Apr 2003 10:56:00 -0000 Message-ID: <20030430105600.22877.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Falk Hueffner Subject: Re: optimization/10562: Code segment optimization incorrectly disappeared with -O2 option Reply-To: Falk Hueffner X-SW-Source: 2003-04/txt/msg01436.txt.bz2 List-Id: The following reply was made to PR optimization/10562; it has been noted by GNATS. From: Falk Hueffner To: fleming.feng@intel.com Cc: gcc-gnats@gcc.gnu.org, eddie.dong@intel.com Subject: Re: optimization/10562: Code segment optimization incorrectly disappeared with -O2 option Date: 30 Apr 2003 12:51:30 +0200 fleming.feng@intel.com writes: > The code in the "for" loop should at least executed one time! [...] > but if it is compiled with -O2 option the code segment in "for" loop > will not be executed. This sounds a lot like a bug that was recently fixed (10171), and I cannot reproduce it with gcc 3.2.3. Can you try it with 3.2.3? -- Falk