Georg-Johann Lay wrote:
> Sean D'Epagnier wrote:
>> On Fri, Nov 25, 2011 at 11:18:17AM +0100, Georg-Johann Lay wrote:
In avr.md I changed:
return "sbi %i0,%2";
to
return "sbi %i0-0x20,%2";
It fixed the problem. I think this needs to be done all over the place
>>
Sean D'Epagnier wrote:
> On Fri, Nov 25, 2011 at 11:18:17AM +0100, Georg-Johann Lay wrote:
>>> In avr.md I changed:
>>>return "sbi %i0,%2";
>>> to
>>>return "sbi %i0-0x20,%2";
>>>
>>> It fixed the problem. I think this needs to be done all over the place
>> This is an incorrect fix, the pr
On Fri, Nov 25, 2011 at 11:18:17AM +0100, Georg-Johann Lay wrote:
> >
> >In avr.md I changed:
> >return "sbi %i0,%2";
> >to
> >return "sbi %i0-0x20,%2";
> >
> >It fixed the problem. I think this needs to be done all over the place
>
> This is an incorrect fix, the problem must be somewher
Sean D'Epagnier schrieb:
I have had some issues compiling source code with the latest gcc in svn.
The following program fails me:
#include
int main(void) {
DDRB |= _BV(DDB5);
}
avr-gcc -mmcu=at90usb1287 -c test.c -o test.o -O2
/tmp/ccqKOBv9.s: Assembler messages:
/tmp/ccqKOBv9.s:16: Err
Sean D'Epagnier wrote:
> The instruction in avr.md which generates this is *sbi, only
> enabled with optimizations. I think this is a new optimization
> added, but 0x20 needs to be subtracted from the memory location.
Let's see what Johann might say about it.
One thing to keep in mind is that
I have had some issues compiling source code with the latest gcc in svn.
The following program fails me:
#include
int main(void) {
DDRB |= _BV(DDB5);
}
avr-gcc -mmcu=at90usb1287 -c test.c -o test.o -O2
/tmp/ccqKOBv9.s: Assembler messages:
/tmp/ccqKOBv9.s:16: Error: number must be positive