[LLVMbugs] [Bug 21819] New: [fuzz] Assertion `is<T>() && "Invalid accessor called"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 10 12:50:45 PST 2014


            Bug ID: 21819
           Summary: [fuzz] Assertion `is<T>() && "Invalid accessor
                    called"' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sami.liedes at iki.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13461
  --> http://llvm.org/bugs/attachment.cgi?id=13461&action=edit
test case

Fuzzing discovered that the attached test case, when given as input to

  clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm

causes this assertion failure:

invalid-accessor-called.cpp:1:9: error: expected identifier
struct::{} C
warning: extra qualification on member '' [-Wextra-qualification]
invalid-accessor-called.cpp:1:13: error: expected ';' after top level
struct::{} C
clang-3.6: include/llvm/ADT/PointerUnion.h:131: T
llvm::PointerUnion<clang::NamedDecl *, clang::QualifierInfo *>::get() const
[PT1 = clang::NamedDecl *, PT2 = clang::QualifierInfo *, T = clang::NamedDecl
*]: Assertion `is<T>() && "Invalid accessor called"' failed.

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/20141210/f2af8610/attachment.html>

More information about the llvm-bugs mailing list