avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] even register number required


From: John Regehr
Subject: Re: [avr-gcc-list] even register number required
Date: Fri, 30 May 2008 13:27:50 -0600 (MDT)

I just checked and 4.2.2 doesn't have the problem either.

So probably not that big of a deal except that 4.1.2 is going to see fairly heavy use fairly shortly due to an upcoming TinyOS release.

Thanks,

John



On Fri, 30 May 2008, Preston Wilson wrote:

"John Regehr" wrote:

We found a bug in avr-gcc 4.1.2.

Thanks,

John Regehr


address@hidden tmp11]$ avr-gcc --version
avr-gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

address@hidden tmp11]$ avr-gcc -Os -mmcu=atmega128 small.c
/tmp/ccHth5XR.s: Assembler messages:
/tmp/ccHth5XR.s:26: Error: even register number required

...

Just fyi this is not a problem with avr-gcc 4.3.0:

$ avr-gcc --version
avr-gcc.exe (WinAVR 20080512) 4.3.0
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I get no error when running "avr-gcc -c -Os -mmcu=atmega128 small_test.c"


With
$ avr-gcc --version
avr-gcc.exe (GCC) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I get the same error you list.

-Preston





reply via email to

[Prev in Thread] Current Thread [Next in Thread]