https://llvm.org/bugs/show_bug.cgi?id=26011
Bug ID: 26011 Summary: assertion "Result.isUninit() && "temporary created multiple times"" fails Product: clang Version: 3.7 Hardware: PC OS: FreeBSD Status: NEW Severity: normal Priority: P Component: C++14 Assignee: unassignedclangb...@nondot.org Reporter: curde...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Similar behaviour to bug #17800. Happens on FreeBSD with -std=c++14 (but not with -std=c++11). The very simple program declares a boost::lockfree::queue. I have tested with clang 3.7.0 and clang-devel (which unfortunately dates back to 20th July 2015) with the same result. > clang++ -std=c++11 -stdlib=libc++ -lc++ -I./thirdparty/boost ./test.cpp > clang++ -std=c++14 -stdlib=libc++ -lc++ -I./thirdparty/boost ./test.cpp Assertion failed: (Result.isUninit() && "temporary created multiple times"), function createTemporary, file /wrkdirs/usr/ports/devel/llvm37/work/llvm-3.7.0.src/tools/clang/lib/AST/ExprConstant.cpp, line 839. clang-3.7: error: unable to execute command: Abort trap (core dumped) clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.7.0 (tags/RELEASE_370/final) Target: x86_64-unknown-freebsd10.1 Thread model: posix Repro (using Boost 1.60): ``` #include <boost/lockfree/queue.hpp> struct message {}; static boost::lockfree::queue<message, boost::lockfree::capacity<10>> a_message_queue; int main() {} ``` -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs