<html>
    <head>
      <base href="http://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 failure !isimplicitaccess() during compilation"
   href="http://llvm.org/bugs/show_bug.cgi?id=17765">17765</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>assertion failure !isimplicitaccess()  during compilation
          </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>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>C++11
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>aaronmcdaid@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I developed this code initially on a different computer with the AMD64 Ubuntu
12.04 LTS binaries from <a href="http://llvm.org/releases/download.html">http://llvm.org/releases/download.html</a> . LLVM 3.3  . It
compiled and executed there cleanly, no warnings. -std=gnu++0x -Wall -Wextra
-pedantic

But now I'm running Ubuntu 12.04 LTS on an iMac.  It's 32-bit, so I made and
installed from trunk, as described on <a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a>

The same code now crashes the compiler.  I don't have any ideas as to which
lines of code might be the problem.


I should explain a little about what I'm doing with my software.  It's a
"named-tuple" class.  Then I've overloaded the [] operator (via a template) so
that I can do:

    mytuple[ age ] = 3;
    cout << mytuple[ address ] << endl;

where 'age' and 'address' are values of different *type*.  They are different
types, so a different template membe function is used in each case.


(Will add backtrace, proprocessed source, and run script)</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>