]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor
authorMartin Jambor <mjambor@suse.cz>
Thu, 11 Apr 2024 17:37:45 +0000 (19:37 +0200)
committerMartin Jambor <mjambor@suse.cz>
Thu, 11 Apr 2024 17:54:13 +0000 (19:54 +0200)
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.

contrib/check-params-in-docs.py

index 623c82284e26c62e79796d620d83a3f78d13e5df..f7879dd8e08c84b795ebba10935ab78f22e433c9 100755 (executable)
@@ -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():