http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53375
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |avr Status|UNCONFIRMED |RESOLVED Component|c |other Resolution| |WORKSFORME Summary|[AVR] Internal compiler |[AVR] internal compiler |error when O1 or Os are |error: in propagate_rtx, at |active |fwprop.c:684 --- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-09-23 17:42:46 UTC --- This bug look similar to PR46409 closed in 4.6.0 and I can compile the test case with avr-gcc 4.6.2 without a problem. Please notice that register allocation is a matter of the compiler; I don't know what you try to achieve with the register asm declarations. Just remove them and clean up your code. If you cannot switch to a supported version of the compiler (the oldest supported release series is 4.6) then you can also compile with -fno-forward-propagate.