[LLVMbugs] [Bug 12826] New: Internal compiler error with constexpr and recursive data type.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 14 15:38:15 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: paul at codeplay.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list