[Bug gcov-profile/94029] [9/10 Regression] gcc crash in coverage.c:655 since r9-4216-g390e529e2b98983d

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 17 16:43:32 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94029

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Note that C++ FE is correct:

$ g++ pr94029.c --coverage -c
void test_t2()=3:3(location_t:2147483629)-3:3(location_t:2147483634)
void test_t1()=2:1(location_t:2147483638)-2:1(location_t:2147483643)

while C does:

$ gcc pr94029.c --coverage -c
test_t2=3:3(location_t:2147483629)-2:1(location_t:246216)
test_t1=2:1(location_t:2147483638)-2:1(location_t:246216)


More information about the Gcc-bugs mailing list