[LLVMbugs] [Bug 17765] New: assertion failure !isimplicitaccess() during compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 1 05:41:41 PDT 2013


            Bug ID: 17765
           Summary: assertion failure !isimplicitaccess()  during
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aaronmcdaid at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I developed this code initially on a different computer with the AMD64 Ubuntu
12.04 LTS binaries from http://llvm.org/releases/download.html . LLVM 3.3  . It
compiled and executed there cleanly, no warnings. -std=gnu++0x -Wall -Wextra

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 http://clang.llvm.org/get_started.html

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)

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131101/eafb1d05/attachment.html>

More information about the llvm-bugs mailing list