This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 35701 Quieten -Wconversion warnings
- From: "Joseph S. Myers" <joseph at codesourcery 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: Sat, 16 Aug 2008 16:32:56 +0000 (UTC)
- Subject: Re: PR 35701 Quieten -Wconversion warnings
- References: <6c33472e0808160611i19e3c58esfe6fae6ba9d18d3@mail.gmail.com>
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