http://llvm.org/bugs/show_bug.cgi?id=12826

             Bug #: 12826
           Summary: Internal compiler error with constexpr and recursive
                    data type.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 8559
  --> http://llvm.org/bugs/attachment.cgi?id=8559
The file that causes the internal compiler error.

Compiling the attached file causes an internal compiler error using clang 3.2
(trunk 156580) under 32-bit Ubuntu 12.04:

clang++ -std=c++11 rec_constexpr.cpp

Error starts with:

clang: /home/paul/code/llvm-3.1/llvm/tools/clang/lib/AST/ExprConstant.cpp:715:
void {anonymous}::LValue::setFrom(clang::ASTContext&, const clang::APValue&):
Assertion `V.isLValue()' failed.
0  clang     0x09c869f8
...

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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

Reply via email to