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

            Bug ID: 122107
           Summary: [16 Regression] -ftime-report / -fmem-report no longer
                    shown in --help=common
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

Recently, -ftime-report and -fmem-report stopped to be listed in --help=common;
it's now shown only with --help=modula-2 (maybe since
273b53effbf5497e3e08bddeba74e72f1e7e8315), even though it applies to all
languages:



$ gcc-15 --help=common | grep -e ftime-report -e fmem-report
  -fmem-report                Report on permanent memory allocation.
  -fmem-report-wpa            Report on permanent memory allocation in WPA
only.
  -ftime-report               Report the time taken by each compiler pass.
  -ftime-report-details       Record times taken by sub-phases separately.
$ gcc-15 --help=c | grep -e ftime-report -e fmem-report
$ gcc-15 --help=modula-2 | grep -e ftime-report -e fmem-report

$ gcc-16 --help=common | grep -e ftime-report -e fmem-report
  -fmem-report-wpa            Report on permanent memory allocation in WPA
only.
  -ftime-report-details       Record times taken by sub-phases separately.
$ gcc-16 --help=c | grep -e ftime-report -e fmem-report
$ gcc-16 --help=modula-2 | grep -e ftime-report -e fmem-report
  -fmem-report                Report on permanent memory allocation.
  -ftime-report               Report the time taken by each compiler pass.

Reply via email to