A 32bit multiplication by a constant results in incorrect code when compiled for some AVR models (probably those having a hardware multiplier).
Command: avr-gcc -mmcu=attiny25 -Os -S t1.c (correct) avr-gcc -mmcu=atmega16 -Os -S t1.c (incorrect) -- Summary: [4.1 regression] incorrect code for 32bit multiplication by constant Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: a dot kaiser at gmx dot net GCC host triplet: winavr 20040802 GCC target triplet: avr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35872