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: "uros at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2008 08:02:31 -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 #14 from uros at gcc dot gnu dot org 2008-09-19 08:02 -------
Subject: Bug 37544
Author: uros
Date: Fri Sep 19 08:01:07 2008
New Revision: 140484
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140484
Log:
PR rtl-optimization/37544
* regrename.c (maybe_mode_change): Exit early when copy_mode
is narrower than orig_mode and narrower than new_mode.
testsuite/ChangeLog:
PR rtl-optimization/37544
* gcc.dg/pr37544.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr37544.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/regrename.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37544