PR c++/35635 -Wconversion problematic with bitfields
Janis Johnson
janis187@us.ibm.com
Tue Aug 12 21:16:00 GMT 2008
On Tue, 2008-08-12 at 16:50 +0200, Manuel López-Ibáñez wrote:
> 2008/8/12 Joseph S. Myers <joseph@codesourcery.com>:
> > On Tue, 5 Aug 2008, Manuel López-Ibáñez wrote:
> >
> >> 2008-08-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
> >>
> >> PR 35635
> >> * c-common.c (conversion_warning): Use a switch. Ignore boolean
> >> expressions except for conversions to signed:1 bitfields. Handle
> >> COND_EXPR with constant operands.
> >>
> >> testsuite/
> >> * gcc.dg/pr35635.c: New.
> >> * gcc.dg/Wconversion-integer.c: Update.
> >> * gcc.dg/Wconversion-integer-no-sign.c: Update.
> >> * gcc.dg/Wsign-conversion.c: Update.
> >
> > The C testcases and the substantive parts of the c-common.c patch are OK.
>
> So only the C++ testcases need review...
They're fine.
Janis
More information about the Gcc-patches
mailing list