<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 --- - Segfault in clang::FunctionDecl::getNumParams()"
   href="https://llvm.org/bugs/show_bug.cgi?id=30274">30274</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault in clang::FunctionDecl::getNumParams()
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dane@mapbox.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Latest llvm/clang segfaults on code that works with all earlier released
versions of clang.

Seen on OS X 10.11.6 with clang 4.x build from source like:
<a href="https://github.com/mapbox/mason/blob/2b550ea353f2cbfac823bdd6224688f1f3c35a3f/scripts/clang/4.x/script.sh">https://github.com/mapbox/mason/blob/2b550ea353f2cbfac823bdd6224688f1f3c35a3f/scripts/clang/4.x/script.sh</a>

llvm git checkout was da488468796b9366fb9cd1d8010658077ff7759b /
<a href="https://llvm.org/svn/llvm-project/llvm/trunk@280600">https://llvm.org/svn/llvm-project/llvm/trunk@280600</a>
91177308-0d34-0410-b5e6-96231b3b80d8
clang git checkout was 9933b39786ee646c3144099d59896b11911c2d82 /
<a href="https://llvm.org/svn/llvm-project/cfe/trunk@280597">https://llvm.org/svn/llvm-project/cfe/trunk@280597</a>
91177308-0d34-0410-b5e6-96231b3b80d8

 - Terminal output of crash:
<a href="https://gist.github.com/springmeyer/6da336f794d96f456564f09e1a840f36">https://gist.github.com/springmeyer/6da336f794d96f456564f09e1a840f36</a>
 - Backtrace:
<a href="https://gist.github.com/springmeyer/8f1f085f418b35b24a21a1db682243ae">https://gist.github.com/springmeyer/8f1f085f418b35b24a21a1db682243ae</a>
 - Script generated after crash:
<a href="https://gist.github.com/springmeyer/3f98a684c4ccdf553a5879d40b8fd897">https://gist.github.com/springmeyer/3f98a684c4ccdf553a5879d40b8fd897</a>
 - Pre-processed source (45 MB):
<a href="https://gist.githubusercontent.com/springmeyer/4d707fad1df2fc3c770e063ca3dc3660/raw/ea5076adb1b823fac9eab739e359a770f2315954/mapnik_json_feature_grammar-91251c.cpp">https://gist.githubusercontent.com/springmeyer/4d707fad1df2fc3c770e063ca3dc3660/raw/ea5076adb1b823fac9eab739e359a770f2315954/mapnik_json_feature_grammar-91251c.cpp</a></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>