[LLVMbugs] [Bug 16204] New: assertion failure binding reference to vector element

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 2 23:27:43 PDT 2013


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

            Bug ID: 16204
           Summary: assertion failure binding reference to vector element
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

typedef __attribute__((ext_vector_type(4))) int vi4;
const int &r = vi4(1).x;

gives:

lib/AST/ExprClassification.cpp:56: Cl
clang::Expr::ClassifyImpl(clang::ASTContext &, clang::SourceLocation *) const:
Assertion `getValueKind() == VK_LValue' failed.

Looks related to PR13068 but that has a different assert and now works in ToT.

-- 
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/20130603/95863df2/attachment.html>


More information about the llvm-bugs mailing list