[PATCH] Fix GLIBC build error with recent GCC6

Jeff Law law@redhat.com
Mon Jul 20 17:53:00 GMT 2015


On 07/20/2015 11:51 AM, Florian Weimer wrote:
> 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?
Not really.  I'd have to sit down with the minimized testcase & a CFG to 
know for sure.

jeff



More information about the Libc-alpha mailing list