<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 --- - [3.5] Crash when creating tuple with at least 5 elements using libc++" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23661&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=SBDcm4JE6LE6ujnOL21zuxO7zdvU8fbVMTze4XjBywc&s=rYZ_ZbXIwNbTTjEve-de0y2PB97roPEdd0aygkyT6RE&e=">23661</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[3.5] Crash when creating tuple with at least 5 elements using libc++
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.5
          </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>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>jvp4846@g.rit.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14385" name="attach_14385" title="Test case">attachment 14385</a> <a href="attachment.cgi?id=14385&action=edit" title="Test case">[details]</a></span>
Test case

Attempting to compile the attached test case with clang++ 3.5.2 and libc++
causes the compiler to crash. Things work if I use clang++-3.4 or libstdc++
instead. To reproduce, here's the exact command I used to compile:

  clang++-3.5 -std=c++11 -stdlib=libc++ test.cpp -DCRASH

Here's the exact version number of the clang 3.5 I'm using:

  Debian clang version 3.5.2-svn232162-1~exp1 (branches/release_35) (based on
LLVM 3.5.2)

My libc++ is from revision 230077 (a bit old, I know, but <tuple> has only seen
two patches since then, and still, it shouldn't *crash* the compiler).

I'll post the backtrace in a followup comment.</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>