This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in loop optimization with -Os (-O2)
- To: denis at medo dot fov dot uni-mb dot si (Denis Chertykov)
- Subject: Re: bug in loop optimization with -Os (-O2)
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 1 Mar 1999 14:38:32 +0000 (GMT)
- Cc: egcs at egcs dot cygnus dot com
> I have founded gcc/egcs bug while compile and run test file
> testsuit/gcc.c-torture/execute/loop-2c.c:
The bug has been in biv elimination from the time this optimization
was implemented in gcc. All the loop2* tests test various mainfestations
of the bug, and the loop3* tests a related bug. If the bugs are triggered
or not depends on pretty much all the code generation code and previous
optimization passes, in a pseudo-random manner.