From patchwork Thu Apr 11 17:52:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jambor X-Patchwork-Id: 88382 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F842385840C for ; Thu, 11 Apr 2024 17:53:23 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 6B92B3858D20 for ; Thu, 11 Apr 2024 17:52:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B92B3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6B92B3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712857976; cv=none; b=dVMKzatpZd/7bHaWQ2PjFjAzW5d4XJo9KDXirWgrwXfPABSLFhAICaSgJB6QFElhNnvkk2pHLA3IPsly8ieN0nYH0VfGyH/2klremVmI1lVwYJ2gCGO5UbybJHZghAJ3DxWZHVjwe8Dm44UPzR6ahcjHXufXXeX8fIWBNzCY3B8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712857976; c=relaxed/simple; bh=p17ZKI0pkTcc9xIE1Q6YnwW3gQ/fv5dlGtWnk0EEqNg=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=XtCR9mAQwGq0r6Ccd3MbdwozCE+EI0iC9+EmKMYr6OGhgMzRGNNHMDAUiFmfZ6erFlS8k/khhhRPUsRcTArZlno3NNyUqtNWDESUF2GRY/zDzrparpfzxmaIbbPFWQHQbYOC7Mlb8POiIdBW/53/oOsJH9ROfDqnLES/bKC/qp0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6DA255D30E; Thu, 11 Apr 2024 17:52:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=BxB6hjXiCT3KR6bfBpCLBdNKtVHUXYhvo2HIgTz56+4IU/QZQBbfX1BFy2OKY1/s6hZWI5 Cl+Fvg+pXV8llSOOg07wt0pKN9rIgwkl6u7GOYDL49N2/Pq0Ebw/XDfap/3tegE9jy1hwI laKnxSJ8e3ze2MiKW8slNRN8m1y3e18= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=3/x8dBnmAwjHF7N2m3mg9vSKJFVm+Sy4nv8UCPLOztOn862sWSOnEyNFK/YMYD9llgVuyh d4dLimZQu8TdmUBA== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=BxB6hjXi; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="3/x8dBnm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=BxB6hjXiCT3KR6bfBpCLBdNKtVHUXYhvo2HIgTz56+4IU/QZQBbfX1BFy2OKY1/s6hZWI5 Cl+Fvg+pXV8llSOOg07wt0pKN9rIgwkl6u7GOYDL49N2/Pq0Ebw/XDfap/3tegE9jy1hwI laKnxSJ8e3ze2MiKW8slNRN8m1y3e18= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=3/x8dBnmAwjHF7N2m3mg9vSKJFVm+Sy4nv8UCPLOztOn862sWSOnEyNFK/YMYD9llgVuyh d4dLimZQu8TdmUBA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 56CDE1368B; Thu, 11 Apr 2024 17:52:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id pFIsFXQjGGaBCwAAD6G6ig (envelope-from ); Thu, 11 Apr 2024 17:52:52 +0000 From: Martin Jambor To: GCC Patches Cc: Thomas Schwinge Subject: [PATCH] contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor User-Agent: Notmuch/0.38.2 (https://notmuchmail.org) Emacs/29.3 (x86_64-suse-linux-gnu) Date: Thu, 11 Apr 2024 19:52:51 +0200 Message-ID: MIME-Version: 1.0 X-Spam-Level: X-Spamd-Result: default: False [-2.62 / 50.00]; BAYES_HAM(-1.11)[88.32%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_TRACE(0.00)[0:+]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:rdns] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 6DA255D30E X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Score: -2.62 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Hi, 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. I'll push the patch as obvious momentarily. Martin contrib/ChangeLog: 2024-04-11 Martin Jambor * check-params-in-docs.py (ignored): Add gcn-preferred-vectorization-factor. --- contrib/check-params-in-docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/check-params-in-docs.py b/contrib/check-params-in-docs.py index 623c82284e2..f7879dd8e08 100755 --- a/contrib/check-params-in-docs.py +++ b/contrib/check-params-in-docs.py @@ -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():