<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - address of label preventing inlining of __attribute__((always_inline)) static functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=39560">39560</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>address of label preventing inlining of __attribute__((always_inline)) static functions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ndesaulniers@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>echristo@gmail.com, isanbard@gmail.com, llozano@chromium.org, llvm-bugs@lists.llvm.org, srhines@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Example from the Linux kernel: <a href="https://godbolt.org/z/S8FRRs">https://godbolt.org/z/S8FRRs</a>

The kernel uses a GNU statement expression that returns the address of a label
in many many places throughout the code bases.  With Clang, it seems that
taking the address of a block prevents a __attribute__((always_inline))
function from being inlined.</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>