https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100980
--- Comment #4 from Yang Wang <njuwy at smail dot nju.edu.cn> --- (In reply to Yang Wang from comment #3) > The coverage is correct later version (gcov 11.1.0 and 12.1.0),is it fixed? In version 12.1.0 -: 1:#include<stdio.h> -: 2:extern void abort(void); -: 3:extern void exit(int); 1: 4:int main(void) { -: 5: struct foo{ -: 6: int i0; -: 7:}; 1: 8: int b,c,d=1; 1: 9: for ((b = sizeof(struct foo { -: 10: int i0; -: 11: int i1; -: 12: })); 2: 13: d; d--) 1: 14:c = sizeof(struct foo); -: 15:}