------- Comment #3 from rguenth at gcc dot gnu dot org 2009-08-07 13:39 ------- I guess m32c implements a widening multiplication that isn't correctly implemented. Because (short)(40 * -1000) is exactly 25526.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |target GCC target triplet| |m32c-elf Summary|Optional optimization |Optional optimization error |errorĀ@(m32r-elf) | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41000