[gcc-bugs@ removed from Cc:] On Mon, 29 Mar 2010, Alex Turjan wrote:
> Im writing to you regarding a possible bug in linear loop transfor. > The bug can be reproduce by compiling the attached c file with gcc.4.5.0 > (20100204, 20100325) on x86 machine. > > The compiler flags that reproduce the error are: > -O2 -fno-inline -fno-tree-ch -ftree-loop-linear > > If the compiler is run with: > -O2 -fno-inline -fno-tree-ch -fno-tree-loop-linear > then the produced code is correct. Instead of writing to a mailing list, please file a bug in GCC Bugzilla, as described in http://gcc.gnu.org/bugs/ . Posting bug reports to gcc-bugs@ does not register them in the bugzilla, and thus is not recommended. Thanks. Alexander Monakov