http://llvm.org/bugs/show_bug.cgi?id=17765
Bug ID: 17765
Summary: assertion failure !isimplicitaccess() during
compilation
Product: clang
Version: trunk
Hardware: Macintosh
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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
-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 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs