https://bugs.llvm.org/show_bug.cgi?id=41848
Bug ID: 41848
Summary: crash when compiling coroutine with
fsanitize=undefined
Product: clang
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Created attachment 21933
--> https://bugs.llvm.org/attachment.cgi?id=21933&action=edit
minimal reproducing example
A minimal example can be found in test.cpp.
The undefined behaviour sanitizer somehow inserts code into a seemingly simple
function which causes a "cannot move instruction since its users are not
dominated by CoroBegin" compilation failure.
Compile with clang++ -std=c++17 -fcoroutines-ts -fsanitize=undefined -c
test.cpp
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs