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 c++/35635 -Wconversion problematic with bitfields


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


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