Khyber Sen
Khyber Sen
I realized that the `__thread` and `#[thread_local]` don't actually play a role here. The same UB can be reproduced without them: ```c static int x = 0; void bar(int *y)...
What's the motivating example for this? The simplified example is clear, but what is the program trying to achieve with something like this?
Could you provide more details on what exactly you're running and in what environment?
I agree this would be a nicer translation. We would also need to add casts in places where an `enum` is implicitly coerced to an `int` or other `enum`, which...
> hmm, i think the problem only happens when compiling with clang >= 19. so in my system (clang 21) and goldbolt (clang 19) the program causing panic but in...
We originally did this, but we removed it in #1115 since it conflicted with our old nightly. Hopefully, when we merge #1227, we can revert #1115, or if you're able...
> hmm, if #1227 still too far to merge, maybe we can use other crate than `git-testament` which dont use `time.rs` Possibly. #1227 is all ready to merge, though, with...
> It looks to me like this is a toolchain problem. Probably using a stable toolchain where possible would help, as suggested in #1227. That should fix compiling the transpiler,...
> One possible implementation strategy for this that I would investigate is extending the `Translation`'s `renamer` to map decls in a more structured way. How would that work exactly? I...
We don't intend to perform any optimizations, but I think this might be caused by skipping some expressions with no side effects. We'll see if we can fix this.