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

            Bug ID: 89577
           Summary: In the manual, replace -fprofile-arcs -ftest-coverage
                    by the simpler --coverage
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vincent-gcc at vinc17 dot net
  Target Milestone: ---

The GCC manual Section 10 (gcov)

  https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html
  https://gcc.gnu.org/onlinedocs/gcc/Gcov-and-Optimization.html

uses "-fprofile-arcs -ftest-coverage" while the simpler option --coverage could
be used instead (I also assume that --coverage may be better in general, as it
generates the right option when linking). I suggest the replacement.

Reply via email to