[Bug rtl-optimization/37544] [4.2/4.3/4.4 Regression] Conversion double -> unsigned long long -> unsigned -> double gives wrong results
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 17 10:40:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list