Open Quuxplusone opened 3 years ago
Attached clang_coro_init_list_bug_pp.cc
(7879 bytes, text/x-c++src): Preprocessed source
This program is reduced from the code that uses seastar framework (https://github.com/scylladb/seastar).
Currently, we use "clang + libstdc++" combination, but gcc's coroutine impl header doesn't work with clang cleanly out of the box. So, for ease of testing, I've just copied the needed boilerplate code for coroutines impl directly from gcc's std
to std::experimental
.
Hi Pavel,
Thanks for reporting this. But I failed to reproduce this. My clang version is 13. And the version of compiler-rt is 13 too. For the preprocessed reproducer, I tried both libstdc++ and libc++, but it compiles and executes normally.
My version libstdc++ is 9.2.1. And testing target is AArch64.
clang_coro_init_list_bug_pp.cc
(7879 bytes, text/x-c++src)