From patchwork Mon Jul 1 09:37:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1954567 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=QEhckmFm; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WCLZH2SHfz1xpP for ; Mon, 1 Jul 2024 19:38:15 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8E00E3899427 for ; Mon, 1 Jul 2024 09:38:13 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by sourceware.org (Postfix) with ESMTPS id 55F9E389906E for ; Mon, 1 Jul 2024 09:37:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 55F9E389906E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 55F9E389906E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2604:1380:4641:c500::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719826669; cv=none; b=ENhvSmHNNF/JM9aD0jMgQPwJYN0lpC6W+4+KWxUnHWwAP+ygOlTc10DRfnn+dGaOIqnN6dzaTSZFDqv/0MZ2cpEQnuGTTEeWHvOARuIvCiT3rurDKaMr9lnNATxAh4jX51LfUPNOggUoTo0RZmwol5qKzFxYeYUubLD9RS1u+ys= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719826669; c=relaxed/simple; bh=/rdLDgo15p0F1VsPXK0Q0+qa5+lVKS1GXXyfcvdVEfI=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=tiJVNbPS2RTJ4hNFAh+vyVlTXkSgqXKIPsO18/sFQxwpflz2AceaTL0xllemjjOUsxqHNwY3BYtx2T5LIJjLZF5tEgbn4T9gbxLAlZSveiKjE41skFAt4oQiKT+52/b13Jbsi/nJZwotu0Ei5/OTlgFUrUuDlQweeaKX6Pu++qE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id CD4C6610FB for ; Mon, 1 Jul 2024 09:37:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D32D5C32786; Mon, 1 Jul 2024 09:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719826662; bh=/rdLDgo15p0F1VsPXK0Q0+qa5+lVKS1GXXyfcvdVEfI=; h=Date:From:To:Cc:Subject:From; b=QEhckmFmjVdx9IWGt54fj6HmjL+hY26WtyCj1U1LgGBm+e9Imu+MTuxlvLlQZyDUv nYx6Ob1DURPIt/4F/35UwsXKa6OVKvu+aeQWpjBioxyxBpLnYSFb3RPia2EcBE5SeX O+GhVyl+pZ82yfbjbv5SkgMO4CjU0SG4EjURFjhBZk1jevL/+3GudvY4k6CqAQU7MV xdq/EWTgNhphxXbyhlmsipmtgbtuOsOo1B/ltghhOCkU9qUNrMllaktorTH1B5EXUJ SAdqkegAnp9LZ1e08yq/Ish5aZtjZvXosRK1G3tyhAslEIqdnJ6ynRoOrCVE0Temmv qvW+GN4xcOU1A== Date: Mon, 1 Jul 2024 11:37:40 +0200 From: Alejandro Colomar To: gcc-patches@gcc.gnu.org Cc: Alejandro Colomar Subject: [PATCH] doc: Document -fasm as the opposite of -fno-asm Message-ID: <20240701093731.16905-1-alx@kernel.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, 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+incoming=patchwork.ozlabs.org@gcc.gnu.org gcc/ChangeLog: * doc/invoke.texi: Document -fasm. Signed-off-by: Alejandro Colomar --- gcc/doc/invoke.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 30c4b002d1f..2d55f2715b3 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -198,7 +198,7 @@ in the following sections. @item C Language Options @xref{C Dialect Options,,Options Controlling C Dialect}. @gccoptlist{-ansi -std=@var{standard} -aux-info @var{filename} --fno-asm +-f@r{[}no-@r{]}asm -fno-builtin -fno-builtin-@var{function} -fcond-mismatch -ffreestanding -fgimple -fgnu-tm -fgnu89-inline -fhosted -flax-vector-conversions -fms-extensions @@ -2600,8 +2600,8 @@ comments, after the declaration. @opindex fno-asm @opindex fasm -@item -fno-asm -Do not recognize @code{asm}, @code{inline} or @code{typeof} as a +@item -f@r{[}no-@r{]}asm +Do (or do not) recognize @code{asm}, @code{inline} or @code{typeof} as a keyword, so that code can use these words as identifiers. You can use the keywords @code{__asm__}, @code{__inline__} and @code{__typeof__} instead. In C, @option{-ansi} implies @option{-fno-asm}.