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)

Reply via email to