<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Incorrect warning from ccc-analyzer"
   href="https://llvm.org/bugs/show_bug.cgi?id=25109">25109</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Incorrect warning from ccc-analyzer
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>kremenek@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lomato@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15034" name="attach_15034" title="The reduced test case.">attachment 15034</a> <a href="attachment.cgi?id=15034&action=edit" title="The reduced test case.">[details]</a></span>
The reduced test case.

ccc-analyzer shows me an incorrect warning using strcmp(). I've reduced the
test case to the attached file. The command line that triggers the warning is

/usr/share/clang/scan-build-3.7/ccc-analyzer -I
/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -I /usr/include/glib-2.0/ -Wall
testclang.c -O2 -g -DNDEBUG -lglib-2.0 -o testclang

The test case is a reduction from the wireshark source code, where the bug was
initially found. I decided to write a stripped down version of the code to
isolate it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>