Hi.
Consider this test case:unsigned long rotl (int dummy, unsigned long x) { return (x << 8) | (x >> 24); } Compile with, e.g. avr-gcc -mmcu=atmega8 -S -Os -fno-split-wide-types This will map 0x33221100 to 0x33110033 instead of to 0x22110033
Please test the patch.
And what version is this on?
Eric, this is GCC 4.4 bug. Anatoly.
rotlsi3.diff
Description: Binary data
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list