|
From: | Anatoly Sokolov |
Subject: | Re: [avr-gcc-list] Bug in *rotlsi3 insns? |
Date: | Mon, 23 Mar 2009 22:55:06 +0300 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |