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 Wed, 9 May 2012, Manuel López-Ibáñez wrote:

> That is,
> 
> cases where you not are able to make a deduction about ranges => the
> warnings are appropriate and should be disabled only under a separate
> option.
> 
> cases where you are able to deduce the ranges => warning is not appropriate

Yes, that's correct.

-- 
Joseph S. Myers
joseph@codesourcery.com

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