This is the mail archive of the gcc-patches@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]

Re: PR 40752: -Wconversion generates false warnings for operands not larger than target type


On 11 August 2009 02:01, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Tue, 11 Aug 2009, Manuel López-Ibáñez wrote:
>
>> Modified the patch to make use of the new c-c++-common testsuite.
>> Bootstrapped and regression tested on x86_64-linux-gnu.
>>
>> OK for trunk?
>
> I still think the warnings for these cases are mostly correct (there are
> cases where you may be able to make deductions about the range of possible
> values of the expression being converted) and appropriate, and if disabled
> should be disabled under some separate -Wno-conversion-whatever option.
>
> The changes to use explicit locations (without changing when the
> diagnostics are enabled) are OK.

I committed that part as revision 160631.

Cheers,

Manuel.


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