This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 41779 Wconversion cannot see throught real*integer promotions
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 19 Feb 2010 23:13:24 -0800
- Subject: Re: PR 41779 Wconversion cannot see throught real*integer promotions
- References: <6c33472e1002191127u2f141280o70334293a708eee8@mail.gmail.com>
On Fri, Feb 19, 2010 at 11:27 AM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:
> Bootstrapped and regression tested on x86_64-unknown-linux-gnu.
>
> OK to commit?
>
> Manuel.
>
> 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.
>
It doesn't work on Linux/ia32:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43128
--
H.J.