This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10562: Code segment optimization incorrectly disappeared with -O2 option
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 30 Apr 2003 10:56:00 -0000
- Subject: Re: optimization/10562: Code segment optimization incorrectly disappeared with -O2 option
- Reply-to: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
The following reply was made to PR optimization/10562; it has been noted by GNATS.
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
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