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

            Bug ID: 79659
           Summary: Provide valid values for integer options (e.g.
                    -Wformat) with --help= option
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Similar to what we have for enum values:

  -fprofile-update=[single|atomic|prefer-atomic]        single

or similar to params:

  max-inline-insns-recursive  default 450 minimum 0 maximum 0

I guess it can be useful to show similar information to options like:

-Wstrict-aliasing, -Wstrict-overflow, -Wunused-const-variable, -Warray-bounds,
-Wformat, -flifetime-dse, ...

If welcomed I can prepare patch for next stage1.

Reply via email to