<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 --- - assertion failed and and abort trap"
   href="https://llvm.org/bugs/show_bug.cgi?id=24674">24674</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>assertion failed and and abort trap
          </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>FreeBSD
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>bugzilla@hannes.hauswedell.net
          </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=14810" name="attach_14810" title="the log">attachment 14810</a> <a href="attachment.cgi?id=14810&action=edit" title="the log">[details]</a></span>
the log

With clang-3.7-rc3 and and clang-3.8-trunk I can't compile most SeqAn
(bioinformatics template library) applications anymore:

Assertion failed: (Ty && "Invalid GetElementPtrInst indices for type!"),
function checkGEPType, file
/wrkdirs/usr/ports/devel/llvm37/work/llvm-3.7.0rc3.src/include/llvm/IR/Instructions.h,
line 823.
clang-3.7: error: unable to execute command: Abort trap (core dumped)

clang-3.6.2 works fine. I have attached build log, sh and cpp.

Platform is FreeBSD 10.2 which means libc++. Also OpenMP is used. I cannot test
on Linux right now, but I will try asap.</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>