[LLVMbugs] [Bug 18854] New: Infinite recursion when trying to store a lambda in a std::function
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Feb 15 14:39:38 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18854
Bug ID: 18854
Summary: Infinite recursion when trying to store a lambda in a
std::function
Product: clang
Version: 3.4
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: nick at astrant.net
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12069
--> http://llvm.org/bugs/attachment.cgi?id=12069&action=edit
The testcase.
I attached the crashing code. It seems fixed in the newest clang, where the
testcase compilation (gracefully) fails with some static_asserts failing. I
still figured it was worth reporting since I took the time to create a
testcase, haha.
Attached code makes this clang crash:
clang++ --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
But this clang works fine:
clang version 3.5
Target: x86_64-apple-darwin13.0.0
Thread model: posix
(since it's missing the revision, it's llvm @ 3cab648f with clang @ 93de7bb3 )
Cheers,
--
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/20140215/89fe8ca1/attachment.html>
More information about the llvm-bugs
mailing list