This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Loop optimization bug with Ada front end on PPC (and probably Alpha)


Richard Henderson <rth@redhat.com> writes:

|> On Thu, Nov 22, 2001 at 01:21:20AM -0600, Corey Minyard wrote:
|> >      for I in 1 .. Len loop
|> >          a[i] := b[i];
|> >      end loop;
|> 
|> Give me a complete compilable testcase and I'll look at it.

Here is a testcase for ia64-linux.  It crashes in

	    while (in < p)
	      *out++ = *in++;

because ar.lc == -1 (ie. "infinite").

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5

Attachment: loop.c
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]