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 GLIBC build error with recent GCC6


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


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