[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Endless loop: uchar c; for (c=1; c; c++)
From: |
Eric Weddington |
Subject: |
RE: [avr-gcc-list] Endless loop: uchar c; for (c=1; c; c++) |
Date: |
Wed, 07 Mar 2007 15:35:19 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Shaun Jackman
> Sent: Wednesday, March 07, 2007 3:04 PM
> To: Dmitry K.
> Cc: address@hidden
> Subject: Re: [avr-gcc-list] Endless loop: uchar c; for (c=1; c; c++)
>
> On 3/6/07, Dmitry K. <address@hidden> wrote:
> > Hi,
> >
> > wrong code by avr-gcc 4.1.1:
> ...
>
> I tested your snippet and found that GCC 4.1.0 produced incorrect
> code, and GCC 4.3.0 20070226 from subversion produced correct code.
> So, it looks as if this bug has been found and fixed.
>
Hi Shaun,
Thanks a lot for doing the leg work on this!
But I have a favor to ask: Can you find out approximately *when* this got
fixed? i.e., can you test 4.1.2, and the current 4.2.x branch to see if it's
fixed at either of those two points?
Thanks,
Eric
Re: [avr-gcc-list] Endless loop: uchar c; for (c=1; c; c++), Shaun Jackman, 2007/03/07
- RE: [avr-gcc-list] Endless loop: uchar c; for (c=1; c; c++),
Eric Weddington <=