serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AMD Dev (Jira)" <>
Subject [jira] [Created] (SERF-196) compile warning / logic error (autological-overlap-compare) in buckets/deflate_buckets.c:207
Date Mon, 20 Jul 2020 02:54:00 GMT
AMD Dev created SERF-196:

             Summary: compile warning / logic error (autological-overlap-compare) in buckets/deflate_buckets.c:207
                 Key: SERF-196
             Project: serf
          Issue Type: Bug
    Affects Versions: serf-1.4.0, serf-trunk
         Environment: gcc --version
Configured with: --prefix=/Applications/ --with-gxx-include-dir=/Applications/
Apple clang version 12.0.0 (clang-1200.0.22.19)
Target: arm64-apple-darwin20.0.0
Thread model: posix
InstalledDir: /Applications/
            Reporter: AMD Dev

Maybe a logic error in buckets/deflate_buckets.c at line 207?


It's running a beta copy of Apple MacOS 10.11 (Big Sur) on AMD hardware.  But I've compiled
100's of open source packages in the past few days, and it's the first time I've seen this,
so it's probably worth a closer look by someone more familiar with the code than I am.


I've listed the priority as Major, because I'm not sure the impact on the code at execution.
 Theoretically the bug could be a higher or lower priority.


{{scons: Building targets ...}}{{gcc -o buckets/deflate_buckets.o -c -std=c89 -Wdeclaration-after-statement
-I. -I/Users/ -I/Users/ -I/usr/include buckets/deflate_buckets.c}}{{buckets/deflate_buckets.c:207:13:
warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]}}{{ 
          && ctx->state < STATE_COMPRESS_FINISH))}}{{           

This message was sent by Atlassian Jira

View raw message