[llvm-bugs] [Bug 27069] New: Clang crash if try to compile class method with __restrict__ and inside enum

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 25 09:02:08 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27069

            Bug ID: 27069
           Summary: Clang crash if try to compile class method with
                    __restrict__ and inside enum
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: akaras at inbox.ru
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16094
  --> https://llvm.org/bugs/attachment.cgi?id=16094&action=edit
source file

Clang crashing with error:
clang-3.9: /mnt/src/llvm/llvm/tools/clang/lib/Sema/SemaOverload.cpp:11829:
clang::ExprResult clang::Sema::CreateOverloadedBinOp(clang::SourceLocation,
clang::BinaryOperatorKind, const clang::UnresolvedSetImpl&, clang::Expr*,
clang::Expr*): Assertion `Result.isInvalid() && "C++ binary operator
overloading is missing candidates!"' failed.

Command to build file: clang-3.9 -o test.o -x c++ test.cpp

Attached source file and generated .sh and .cpp

-- 
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/20160325/da4b7ac5/attachment.html>


More information about the llvm-bugs mailing list