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 c++/41779] Wconversion cannot see throught real*integer promotions



------- Comment #4 from manu at gcc dot gnu dot org  2010-02-19 21:12 -------
Subject: Bug 41779

Author: manu
Date: Fri Feb 19 21:12:09 2010
New Revision: 156911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156911
Log:
2010-02-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>

        PR 41779
        * c-common.c (conversion_warning): Remove widening conversions
        before checking the conversion of integers to reals.
testsuite/
        * c-c++-common/pr41779.c: New.

Added:
    trunk/gcc/testsuite/c-c++-common/pr41779.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41779


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