https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97923
--- Comment #4 from Yibiao Yang <yangyibiao at nju dot edu.cn> --- (In reply to Martin Liška from comment #3) > Really, I see still the same: > > $ gcc --version > gcc (GCC) 13.0.0 20220908 (experimental) > $ gcc -O0 --coverage test.c; ./a.out; gcov a-test.c; cat test.c.gcov > File 'test.c' > Lines executed:80.00% of 5 > Creating 'test.c.gcov' > > Lines executed:80.00% of 5 > -: 0:Source:test.c > -: 0:Graph:a-test.gcno > -: 0:Data:a-test.gcda > -: 0:Runs:1 > 1: 1:int foo(int c) > -: 2:{ > #####: 3: return ((c >= 'A' && c <= 'Z') > 1*: 4: || (c >= 'a' && c <= 'z') > 2*: 5: || (c >= '0' && c <= '0')); > -: 6:} > -: 7: > 1: 8:int main() { foo(0); } Indeed, still the same. Sorry for this misleading info.