[llvm-bugs] [Bug 39745] New: clang/lib/Sema/SemaExpr.cpp:13104: clang::ExprResult clang::Sema::ActOnStmtExpr(clang::SourceLocation, clang::Stmt *, clang::SourceLocation): Assertion `!Cleanup.exprNeedsCleanups() && "cleanups within StmtExpr not correctly bound!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 21 12:20:35 PST 2018


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

            Bug ID: 39745
           Summary: clang/lib/Sema/SemaExpr.cpp:13104: clang::ExprResult
                    clang::Sema::ActOnStmtExpr(clang::SourceLocation,
                    clang::Stmt *, clang::SourceLocation): Assertion
                    `!Cleanup.exprNeedsCleanups() && "cleanups within
                    StmtExpr not correctly bound!"' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

// %clang_cc1 -triple i686-unknown-linux-gnu -S -o /dev/null %s
namespace std {
template <typename> class initializer_list {};
} // namespace std

template <typename> struct S {
  void m() { __asm__("" : : "r"(std::initializer_list<unsigned char>{0})); }
};

template class S<void>;

-- 
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/20181121/8033c9c3/attachment.html>


More information about the llvm-bugs mailing list