This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] Fix warnings from latest GCC


On Mon, 10 Oct 2016, Steve Ellcey wrote:

> The easiest fix seems to be to add explicit '!= 0' to these lines.  I did this
> and verified that the generated code (on aarch64) is identical.  
> 
> OK to checkin?

OK (this accords with the glibc rule that such implicit boolean 
conversions should be avoided).

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