<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jordan_rose@apple.com" title="Jordan Rose <jordan_rose@apple.com>"> <span class="fn">Jordan Rose</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - False positive in checker: Function call argument is an uninitialized value"
   href="http://llvm.org/bugs/show_bug.cgi?id=16400">bug 16400</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - False positive in checker: Function call argument is an uninitialized value"
   href="http://llvm.org/bugs/show_bug.cgi?id=16400#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - False positive in checker: Function call argument is an uninitialized value"
   href="http://llvm.org/bugs/show_bug.cgi?id=16400">bug 16400</a>
              from <span class="vcard"><a class="email" href="mailto:jordan_rose@apple.com" title="Jordan Rose <jordan_rose@apple.com>"> <span class="fn">Jordan Rose</span></a>
</span></b>
        <pre>The analyzer is conservative about global variables, even static global
variables, and assumes that any function calls it sees could change the
variable. IPA mitigates this a bit, and there are techniques we could add to
figure out that a particular function does /not/ touch a global, but in the
general case it's an unsolvable problem. I don't think we're going to be able
to fix this any time soon.

Workaround: cache the results of the check in a local variable.</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>