[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-18 Thread gejoed at rediffmail dot com via Gcc-bugs
...@gcc.gnu.org Sent: Fri, 19 Apr 2024 09:55:38 To: gej...@rediffmail.com Subject: [Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #8 from Andrew Pinski pinskia at gcc dot gnu.org --- I will try to add something to https

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #8 from Andrew Pinski --- I will try to add something to https://gcc.gnu.org/gcc-11/porting_to.html in the next few weeks.

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-18 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #7 from Gejoe --- Thanks Andrew. It would be better to document this change post gcc11 apart from a sample example as generally it is understood that --coverage flag is enough for gcc to get coverage enabled build done and then

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #6 from Andrew Pinski --- (In reply to Gejoe from comment #4) > Thanks Andrew for the info. > > So, does this mean that every program which was compiled earlier with one > step (ie. gcc --coverage srcfile.c) of gcc/g++ will have

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #5 from Gejoe --- my previous message is after seeing this change :

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #4 from Gejoe --- Thanks Andrew for the info. So, does this mean that every program which was compiled earlier with one step (ie. gcc --coverage srcfile.c) of gcc/g++ will have to be split to 2 steps using -c option first and then

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #3 from Andrew Pinski --- The "fix" was to how to build to be able to use gcov. Basically you build to an object file first and then link the object file to get the old behavior and the behavior that gcov expects.

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #2 from Gejoe --- May I know where the fix has gone to , meaning the gcc version which will not have this issue of gcov failure ?

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---