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 35701 Quieten -Wconversion warnings


On Sat, 16 Aug 2008, Manuel López-Ibáñez wrote:

> More fixes of Wconversion with bit operators. I hope I got this right,
> different signedness bit operations are a bit confusing. I am not 100%
> sure about the case updated in g++.dg/warn/Wconversion-pr34389.C but
> it seems that we were wrongly warning there and this patch fixes it.
> 
> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
> --enable-languages=all,ada
> 
> OK for trunk?

OK, except the C++ testcase will need C++ or testsuite review, and the new 
test pr35701.c needs to run only for the int32plus effective target; it 
does not look like it would compile for targets with 16-bit int.

-- 
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]