This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix GLIBC build error with recent GCC6
- From: Florian Weimer <fweimer at redhat dot com>
- To: Jeff Law <law at redhat dot com>, "Carlos O'Donell" <carlos at redhat dot com>, Wilco Dijkstra <wdijkstr at arm dot com>, "'GNU C Library'" <libc-alpha at sourceware dot org>
- Date: Mon, 20 Jul 2015 19:51:13 +0200
- Subject: Re: [PATCH] Fix GLIBC build error with recent GCC6
- Authentication-results: sourceware.org; auth=none
- References: <002b01d0c309$84ed71a0$8ec854e0$ at com> <55AD32AB dot 8020004 at redhat dot com> <55AD3401 dot 4020005 at redhat dot com>
On 07/20/2015 07:46 PM, Jeff Law wrote:
> Extra credit if you can file a bug report upstream for GCC.
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66946>
> This kind of false positive often leads to discovery of cases that GCC
> is not optimizing as well as it should. Killing the false positive and
> generating better code in the process is obviously a good thing.
What's particularly worrying is that the warning says “is”, not ”may
be”. Doesn't this indicate the GCC miscompiles some paths?
--
Florian Weimer / Red Hat Product Security