Open kelbon opened 1 month ago
@llvm/issue-subscribers-coroutines
Author: None (kelbon)
I also noticed, that removing [[noreturn]] in minimized version fixes double free
(Sorry for the noise, I see this is EH-related, which is out of scope for us)
Seems related to https://github.com/llvm/llvm-project/issues/61900. cc @ChuanqiXu9
Given the current one is not related to optimization, it may not be strictly the same issue. But they may share the solution.
Im remembering bug in clang, something like:
return a;
label:
foo();
And code was incorrectly deleted as unreachable, now i see, that [[noreturn]] in debug version removes 35% of generateed code. May be just again "unreachable" code deleted, while its reachable?
https://godbolt.org/z/KqqK1aqv6