This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/37544] Conversion double -> unsigned long long -> unsigned -> double gives wrong results



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]