]> gcc.gnu.org Git - gcc.git/commit - gcc/c-common.c
re PR c++/41779 (Wconversion cannot see throught real*integer promotions)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Fri, 19 Feb 2010 21:12:09 +0000 (21:12 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Fri, 19 Feb 2010 21:12:09 +0000 (21:12 +0000)
commit58076e217c5cbc9f578ea687a67ca49053d06674
treea8b8399751e464e4ec4287a9c9a0996327cc76f4
parentb42186f16474032ac2fa82027d3b7bf31e94daef
re PR c++/41779 (Wconversion cannot see throught real*integer promotions)

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.

From-SVN: r156911
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr41779.c [new file with mode: 0644]
This page took 0.056189 seconds and 5 git commands to generate.