This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/37544] Conversion double -> unsigned long long -> unsigned -> double gives wrong results
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2008 14:31:28 -0000
- Subject: [Bug rtl-optimization/37544] Conversion double -> unsigned long long -> unsigned -> double gives wrong results
- References: <bug-37544-16622@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from ubizjak at gmail dot com 2008-09-18 14:31 -------
Fixed for 4.4, latent on 4.3 and 4.2.
BTW: This problem was uncovered by the patch that fixed PR target/13958 [1].
[1] http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01295.html
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4 Regression] Conversion |Conversion double ->
|double -> unsigned long long|unsigned long long ->
|-> unsigned -> double gives |unsigned -> double gives
|wrong results |wrong results
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37544