Re: Infinite number of iterations in loop [v850, mep]

2014-01-16 Thread Chris Gallimore
...@wenhamcarter.com Best regards, Chris -- View this message in context: http://gcc.1065356.n5.nabble.com/Infinite-number-of-iterations-in-loop-v850-mep-tp984790p1003192.html Sent from the gcc - Dev mailing list archive at Nabble.com.

RE: Infinite number of iterations in loop [v850, mep]

2014-01-15 Thread Paulo Matos
> -Original Message- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Paulo > Matos > Sent: 09 January 2014 16:48 > To: Richard Biener > Cc: Andrew Haley; gcc@gcc.gnu.org; Jan Hubicka > Subject: RE: Infinite number of iterations in loop [v850,

RE: Infinite number of iterations in loop [v850, mep]

2014-01-09 Thread Paulo Matos
> -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 08 January 2014 14:42 > To: Paulo Matos > Cc: Andrew Haley; gcc@gcc.gnu.org; Jan Hubicka > Subject: Re: Infinite number of iterations in loop [v850, mep] > > On Wed, Jan 8, 2014

RE: Infinite number of iterations in loop [v850, mep]

2014-01-09 Thread Paulo Matos
> -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 08 January 2014 14:42 > To: Paulo Matos > Cc: Andrew Haley; gcc@gcc.gnu.org; Jan Hubicka > Subject: Re: Infinite number of iterations in loop [v850, mep] > > Well. We ha

RE: Infinite number of iterations in loop [v850, mep]

2014-01-08 Thread Paulo Matos
> -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 08 January 2014 14:42 > To: Paulo Matos > Cc: Andrew Haley; gcc@gcc.gnu.org; Jan Hubicka > Subject: Re: Infinite number of iterations in loop [v850, mep] > > Well. We ha

Re: Infinite number of iterations in loop [v850, mep]

2014-01-08 Thread Richard Biener
On Wed, Jan 8, 2014 at 3:09 PM, Paulo Matos wrote: >> -Original Message- >> From: Richard Biener [mailto:richard.guent...@gmail.com] >> Sent: 08 January 2014 11:03 >> To: Paulo Matos >> Cc: Andrew Haley; gcc@gcc.gnu.org >> Subject: Re: Infinite num

RE: Infinite number of iterations in loop [v850, mep]

2014-01-08 Thread Paulo Matos
> -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 08 January 2014 11:03 > To: Paulo Matos > Cc: Andrew Haley; gcc@gcc.gnu.org > Subject: Re: Infinite number of iterations in loop [v850, mep] > > That was refering to the case

Re: Infinite number of iterations in loop [v850, mep]

2014-01-08 Thread Richard Biener
ject: RE: Infinite number of iterations in loop [v850, mep] >> >> > -Original Message- >> > From: Andrew Haley [mailto:a...@redhat.com] >> > Sent: 13 November 2013 15:56 >> > To: Paulo Matos >> > Cc: gcc@gcc.gnu.org >> > Subject: Re:

RE: Infinite number of iterations in loop [v850, mep]

2014-01-07 Thread Paulo Matos
> -Original Message- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Paulo > Matos > Sent: 13 November 2013 16:14 > To: Andrew Haley > Cc: gcc@gcc.gnu.org > Subject: RE: Infinite number of iterations in loop [v850, mep] > > > -

RE: Infinite number of iterations in loop [v850, mep]

2013-11-13 Thread Paulo Matos
> -Original Message- > From: Andrew Haley [mailto:a...@redhat.com] > Sent: 13 November 2013 15:56 > To: Paulo Matos > Cc: gcc@gcc.gnu.org > Subject: Re: Infinite number of iterations in loop [v850, mep] > > On 11/13/2013 03:48 PM, Paulo Matos wrote: > > Bec

Re: Infinite number of iterations in loop [v850, mep]

2013-11-13 Thread Andrew Haley
On 11/13/2013 03:48 PM, Paulo Matos wrote: > I cannot understand GCC's reasoning that the second loop is not > simple. The only source code difference is that unsigned int b is > extern. However, it will always be higher than 'a' (unsigned int) > and the loop can't possibly be infinite. > > Does

Infinite number of iterations in loop [v850, mep]

2013-11-13 Thread Paulo Matos
Hi, I am seeing a strange phenomenon on GCC 4.8 which I can't understand. I tested this with v850 and mep, obtaining the same results (compiling with -O2). With loop-1.c: extern int *c; void fn1 (unsigned int b) { unsigned int a; for (a = 0; a < b; a++) *c++ = 0; } both v850 (requires