------- Comment #8 from ubizjak at gmail dot com 2008-09-17 10:39 ------- The problem is in regrename.c, function maybe_mode_change. We enter the function with:
orig_mode = DImode copy_mode = SImode new_mode = DImode At the beginning of maybe_mode_change() we have: if (orig_mode == new_mode) return gen_rtx_raw_REG (new_mode, regno); we simply discard the change to a narrower mode. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37544