contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor

contrib/check-params-in-docs.py is a script that checks that all
options reported with ./gcc/xgcc -Bgcc --help=param are in
gcc/doc/invoke.texi and vice versa.
gcn-preferred-vectorization-factor is in the manual but normally not
reported by --help, probably because I do not have gcn offload
configured.  This patch makes the script silently about this particular
fact.

contrib/ChangeLog:

2024-04-11  Martin Jambor  <mjambor@suse.cz>

	* check-params-in-docs.py (ignored): Add
	gcn-preferred-vectorization-factor.
This commit is contained in:
Martin Jambor 2024-04-11 19:37:45 +02:00
parent b87ba79200
commit 33f83d3cd8
No known key found for this signature in database
GPG Key ID: BF63C1BC3FA43540

View File

@ -45,7 +45,7 @@ parser.add_argument('params_output')
args = parser.parse_args()
ignored = {'logical-op-non-short-circuit'}
ignored = {'logical-op-non-short-circuit', 'gcn-preferred-vectorization-factor'}
params = {}
for line in open(args.params_output).readlines():