[Bug gcov-profile/113101] New: compilation crash with option --coverage

2023-12-20 Thread jiahaoxiang.hust at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113101 Bug ID: 113101 Summary: compilation crash with option --coverage Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-

[Bug gcov-profile/113103] New: Segmentation fault with --coverage option

2023-12-20 Thread jiahaoxiang.hust at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113103 Bug ID: 113103 Summary: Segmentation fault with --coverage option Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov

[Bug gcov-profile/113101] compilation error with --coverage option

2023-12-20 Thread jiahaoxiang.hust at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113101 --- Comment #2 from Haoxiang Jia --- Thanks for your prompt help.

[Bug gcov-profile/113103] Segmentation fault with --coverage option

2023-12-20 Thread jiahaoxiang.hust at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113103 --- Comment #2 from Haoxiang Jia --- But when I remove --coverage option, the binary works normally. # gcc -o test 1.c 2.c # ./test #

[Bug gcov-profile/113101] compilation error with --coverage option

2023-12-21 Thread jiahaoxiang.hust at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113101 --- Comment #3 from Haoxiang Jia --- I tried to add the -mcmodel=large option, but the compilation error still exists. # g++ --coverage -mcmodel=large -o test test.cpp /usr/lib/gcc/x86_64-linux-gnu/11/libgcov.a(_gcov.o): in function `gcov_write_

[Bug gcov-profile/113157] New: compilation error in PGO

2023-12-27 Thread jiahaoxiang.hust at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113157 Bug ID: 113157 Summary: compilation error in PGO Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile