mahtohappy

Results comments of mahtohappy

https://godbolt.org/z/TaPG3bnrb LLVM optimizer tries to optimize it with the trip count figured out and increments the value of 'd' in one go, but forgets that 'f' shares the same memory...

Aaron Ballman — 03/18/2024 6:07 PM Hmm, it's a monday morning so take this with a grain of salt, but I think {t} is constructing a T via copy construction,...

@Endilll Can you please give your thoughts on this. Thank You.

Hi, I added a fix for this, but couldn't link it somehow, now sure why. https://github.com/llvm/llvm-project/pull/83124

Hi, this behavior is no longer observed on trunk and this issue can be closed. ``` hkumar@:/data/hkumar/test/header_symlinked/test$ cat main.c #include "a/platform.h" #include "b/platform.h" #include int main () { int r...

Hi, this issue can be closed. Fix is already there since LLVM 12 version. https://godbolt.org/z/67M94d4vW

Hi, I think this is false issue and can be closed. Function arguments after implicit conversion to match function parameter is treated as converted value, and not as the value...

Yes, but if you rearrange the code like this https://godbolt.org/z/j71j58vMG it's treated as `int` and the code works fine for every implementation. So the problem is only when the template...

https://godbolt.org/z/aever9j3h and if the it's normal function instead of a templated function then also it's treated `int`. So I can work on unifying the behavior where templated functions behave the...

The behavior of clang is correct here. https://eel.is/c++draft/temp.deduct.general#3 Here in the example we have similar case. `template void g(const X x);` the function template is defined and // # 3:...