[LLVMbugs] [Bug 7029] New: Assertion in Sema

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 3 10:28:30 PDT 2010


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

           Summary: Assertion in Sema
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=4810)
 --> (http://llvm.org/bugs/attachment.cgi?id=4810)
Unreduced testcase

$ ./clang++ qfilesystemwatcher_inotify.ii
<skipped>
/usr/include/sys/inotify.h:36:8: error: cannot initialize a parameter of type
'void *' with an rvalue of type 'char (*)[]'
struct inotify_event
       ^~~~~~~~~~~~~
In file included from io/qfilesystemwatcher_inotify.cpp:1:
io/qfilesystemwatcher_inotify.cpp:366:13: note: in instantiation of member
function 'QMap<int, inotify_event>::insert'
      requested here
            eventForId.insert(event->wd, *event);
            ^
clang: /home/asl/proj/llvm/src/tools/clang/lib/Sema/SemaDeclCXX.cpp:4495: void
clang::Sema::DefineImplicitCopyAssignment(clang::SourceLocation,
clang::CXXMethodDecl*): Assertion `!Call.isInvalid() && "Call to
__builtin_memcpy cannot fail!"' failed.

-- 
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