[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2023-12-28 Thread libin.dang at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #3 from Libin Dang --- For the uploaded test case, `-fdump-internal-locations' gives the following output: ORDINARY MAP: 9 location_t interval: 274912 <= loc < 1342178464 file: header3.h starting at line: 1 column and range

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2023-05-04 Thread libin.dang at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #2 from Libin Dang --- The reason we rose this issue is that it broken our internal code coverage test suite.

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2023-02-25 Thread libin.dang at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #1 from Libin Dang --- For this test case, `-fdump-internal-locations' gives: ... header3.h:327614|loc:1342177760|#include "header2.h" |7778 |788899900011

[Bug preprocessor/108900] New: [libcpp] cpp gives wrong line number information

2023-02-23 Thread libin.dang at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 Bug ID: 108900 Summary: [libcpp] cpp gives wrong line number information Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2020-10-26 Thread libin.dang at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 --- Comment #6 from Libin Dang --- (In reply to Martin Liška from comment #2) > Using latest GCC release you can see what happens: > > $ g++ pr96919.cc --coverage && ./a.out && gcov a-pr96919.cc -t > hello > libgcov profiling > error:/home/marxi