http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46779
--- Comment #7 from Georg-Johann Lay <avr at gjlay dot de> 2011-02-24 13:58:58 UTC --- Created attachment 23453 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23453 Simpler example without #include Slightly simpler test case, compile with avr-gcc -S -Os -mmcu=atmega128 pr46779-1.c Pass .subreg1 emits subregs as Lvalues with the same pseudo as SUBREG_REG so that the second insn ovewrwrites the first. Target: avr Configured with: /gnu/source/gcc.gnu.org/branches/gcc-4_4-branch/configure --target=avr --prefix=/home/georg/gcc/install/gcc-4.4 --enable-languages=c,c++ --disable-libssp --disable-libada --disable-nls --disable-shared Thread model: single gcc version 4.4.6 20110222 (prerelease) (GCC) [...] GNU C (GCC) version 4.4.6 20110222 (prerelease) (avr) compiled by GNU C version 4.3.2 [gcc-4_3-branch revision 141291], GMP version 4.3.1, MPFR version 2.4.2.