https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125275
Bug ID: 125275
Summary: check_GNU_style.py checks .opt for a few things which
should not
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: internal-improvement
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
From:
https://forge.sourceware.org/gcc/gcc-TEST/actions/runs/224/jobs/0/attempt/1
```
Checking GNU style for 9208dda1432549631c393f9c24fa3ef678a93dbf
=== ERROR type #1: lines should not exceed 80 characters (2 error(s)) ===
gcc/common.opt:936:80:Common Joined RejectNegative
Enum(zero_init_padding_bits_kind) Var(warn_zero_init_padding_bits)
Init(ZERO_INIT_PADDING_BITS_STANDARD) Warning
gcc/common.opt:937:80:-Wzero-init-padding-bits=[standard|unions|all]
Warn about initializers that might not zero padding bits.
=== ERROR type #2: there should be exactly one space between function name and
parenthesis (1 error(s)) ===
gcc/common.opt:936:33:Common Joined RejectNegative
Enum(zero_init_padding_bits_kind) Var(warn_zero_init_padding_bits)
Init(ZERO_INIT_PADDING_BITS_STANDARD) Warning
```
Both of these are bogus errors.
I have not checked to see if there is a way to ignore these type errors for
.opt files.