earnol

Results comments of earnol

I do not see any mentions of the clang-tools-extra/test/clang-tidy/checkers/modernize/macro-to-enum.cpp in the issue https://github.com/llvm/llvm-project/issues/133515. I agree the root cause for both issues is the same.

I think it can be closed as duplicate with simultaneous addition of this case to https://github.com/llvm/llvm-project/issues/133515 as right now this failure is not mentioned in the issue 133515.

> At first glance, the blamed commit may surfaced this bug but it has nothing to do with this FP. You are correct. This commit is totally correct. This commit...

> This example can be reduced into: https://godbolt.org/z/EKrbE9oKP Later yesterday i got even more compact reproducer: ```c++ typedef struct { unsigned pad : 4; unsigned val : 4; } S1;...

@NagyDonat Well. The connection is actually direct. Your change exposed existing latent bug in Region store. The problem is in your commit you removed check for the stack region. This...

@steakhal This what my fix does. However it does not do it on read, but on each and every write. I believe it allows solving the current problem without such...

Tested with https://github.com/llvm/llvm-project/commit/a96572a2803ee505b6cb63083f67a1a99bd84d70. Still failing.

Tested. Commit https://github.com/llvm/llvm-project/commit/97ce93a054d9f808a58dddab84abcf83e60efed8 fixed the issue. It can be closed.

Looks like fixed as of https://github.com/llvm/llvm-project/commit/60f40032e00424ace21ae539de02ff227ff8b72e

I also noticed additional issue: ```c typedef long a; const a b[4][1200]; void *memcpy(void *, const void *, unsigned long); extern void *dst[]; void e() { const a *f =...