Anonymous
Anonymous
> The `std::mem::size_of::() > 0` is the cause of the issue, constant evaluation isn't correctly propagating the generic parameter through to the expansion/evaluation of that expression. Will this issue be...
> It's an ICE because the generic type was copied to a scope with no generics. I'll address the issue when I get time. Thank you for your dedication and...
> Looks like `:expr` isn't matching attributes Is this an issue with the code itself or an internal error in the compiler? I initially thought it was an internal issue...
> Please include the revision you're running AND the command you're running when submitting issues. We sincerely apologize for the oversight in not including the version number and command information...
`$ clang -w -O0 -g -fcoverage-mapping -fprofile-instr-generate=small.profraw small.c; ./a.out; llvm-profdata merge small.profraw -o small.profdata; llvm-cov show a.out -instr-profile=small.profdata small.c > small.c.lcov; cat small.c.lcov` 1| |#include 2| |#include 3| |int main()...
`clang -w -O0 -g -fcoverage-mapping -fprofile-instr-generate=small.profraw small.c; ./a.out; llvm-profdata merge small.profraw -o small.profdata; llvm-cov show a.out -instr-profile=small.profdata small.c > small.c.lcov; cat small.c.lcov` 1| |extern void abort (void); 2| |extern void...
I rechecked this bug and found that the reported code coverage of Line 11 is correct in the latest trunk version. $ clang --version Ubuntu clang version 16.0.0-++20220905063833+2417618d5ca4-1~exp1~20220905183932.719 $ clang...
I was wondering that whether this bug should be closed as fixed.
The latest reproducible code is as follow. $ cat small.c ```C #include int main () { int x, y; for (x = INT_MAX - 1; x < INT_MAX; x++) for...
@dwblaikie Hi, David. I re-check this bug and found that this one is also fixed in the latest trunk.