"John Regehr" wrote:

> We found a bug in avr-gcc 4.1.2.
> 
> Thanks,
> 
> John Regehr
> 
> 
> [EMAIL PROTECTED] 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.
> 
> [EMAIL PROTECTED] 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




_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to