[llvm-bugs] [Bug 33998] New: Crash on coroutines builtins
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jul 30 19:22:03 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33998
Bug ID: 33998
Summary: Crash on coroutines builtins
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: seth.cantrell at gmail.com
CC: llvm-bugs at lists.llvm.org
A source file containing the below sequence of tokens causes clang to crash
when compiling using the flags "-std=c++2a -O0 -fcoroutines-ts". Crash in
Godbolt's compiler explorer: https://godbolt.org/g/yKHPDH
alignas(16) unsigned char preallocated[1024];
void f() {
void *builtin_id_return = __builtin_coro_id(16, &preallocated, nullptr,
nullptr);
void *frame = __builtin_coro_begin(builtin_id_return);
}
--
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/20170731/7f73df0c/attachment.html>
More information about the llvm-bugs
mailing list