Landing: d9199569ce57

Project / Subsystem

gcc / contrib

Date

2026-05-11

Author

Andrew Pinski

Commit

d9199569ce579a72d7e6fc88f9235e68778c06cd

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
contrib
patch_id
commit_hash
d9199569ce579a72d7e6fc88f9235e68778c06cd
source_type
github
headline
Contrib: Fix check_GNU_style.py for some .opt issues [PR125275]
tldr
Updates check_GNU_style.py to ignore line length and spacing rules for .opt files.
author
Andrew Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • contrib
  • style
  • build
discussion_id_link
bugzilla_pr
date
2026-05-11T00:00:00.000Z

This commit modifies the check_GNU_style.py script to ignore certain style checks for .opt files. Specifically, it disables the checks for line length (greater than 80 columns) and spacing after the function name. These style requirements are not applicable or useful for .opt files, which have a different structure and purpose than regular source code files.