This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop optimization bug with Ada front end on PPC (and probably Alpha)
On Sun, Nov 25, 2001 at 05:57:07PM +0100, Andreas Schwab wrote:
> Here is a testcase for ia64-linux. It crashes in
>
> while (in < p)
> *out++ = *in++;
>
> because ar.lc == -1 (ie. "infinite").
At first blush, this is a gcse problem. Copy propagation doesn't
replace all ocurrences of r341, and doloop winds up computing ar.lc
from the wrong register.
r~