------- Comment #2 from jakub at gcc dot gnu dot org 2007-12-19 09:08 ------- Shouldn't tmode be only used if GET_MODE_CLASS (tmode) == MODE_INT && GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_BITSIZE (tmode) < GET_MODE_BITSIZE (mode), to make sure we optimize only narrow, never widen, and that float etc. multiplication is not affected?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34522