This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix warnings from latest GCC
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Steve Ellcey <sellcey at sellcey-thinkpad dot caveonetworks dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 10 Oct 2016 22:25:18 +0000
- Subject: Re: [PATCH] Fix warnings from latest GCC
- Authentication-results: sourceware.org; auth=none
- References: <201610102216.u9AMGhpL024615@sellcey-thinkpad.caveonetworks.com>
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