<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:hfinkel@anl.gov" title="Hal Finkel <hfinkel@anl.gov>"> <span class="fn">Hal Finkel</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - __builtin_strcmp in -O0 generates call to non-#included strcmp"
   href="https://llvm.org/bugs/show_bug.cgi?id=27592">bug 27592</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;">CC</td>
           <td>
                
           </td>
           <td>hfinkel@anl.gov
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - __builtin_strcmp in -O0 generates call to non-#included strcmp"
   href="https://llvm.org/bugs/show_bug.cgi?id=27592#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - __builtin_strcmp in -O0 generates call to non-#included strcmp"
   href="https://llvm.org/bugs/show_bug.cgi?id=27592">bug 27592</a>
              from <span class="vcard"><a class="email" href="mailto:hfinkel@anl.gov" title="Hal Finkel <hfinkel@anl.gov>"> <span class="fn">Hal Finkel</span></a>
</span></b>
        <pre>This is behaving as intended. The libc builts are always allowed to defer to
the libc implementation, regardless of optimization level (although it is true
that some of them we'll always expand when optimizations are enabled). The
implementation is always allowed to assume the existence of a standard C
library (or C++ library for C++ code) with which to link (regardless of what
headers you include in your translation unit). In fact, the compiler will
generate calls to memcpy and similar functions for implementing some structure
copies without there being an explicit references to memcpy in your source code
at all.</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>