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] [4.4 Regression] Conversion double -> unsigned long long -> unsigned -> double gives wrong results



------- Comment #12 from uros at gcc dot gnu dot org  2008-09-18 10:19 -------
Subject: Bug 37544

Author: uros
Date: Thu Sep 18 10:17:42 2008
New Revision: 140446

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140446
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:
    trunk/gcc/testsuite/gcc.dg/pr37544.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/regrename.c
    trunk/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]