From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 5BAAE3854559 for ; Wed, 23 Nov 2022 08:59:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5BAAE3854559 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1669193961; bh=cuuIVGFKPGqM9rlPjZmRxJ0T0NNxOMEh60Y6KHokSO0=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=dHE2YawHVofxOLujefjad5dAQQSvwtuFWUHHvYTk+0i6SJjKOZe75IhuOi9YERnqn l9DcV5ZMDwt/RejuIRzNSQz9sidvuqUdy79+eriCVTRROgEbg6vyx1tUZyMyD8Nh0i 1fHk3PxqXUeni/9XmmS3cuVkAwPFzd7x0dWZGcWA= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 2D22866826; Wed, 23 Nov 2022 03:59:19 -0500 (EST) Message-ID: Subject: Re: [PATCH v1] LoongArch: Fixed a compilation failure with '%c' in inline assembly [PR107731]. From: Xi Ruoyao To: Lulu Cheng , gcc-patches@gcc.gnu.org Cc: i@xen0n.name, xuchenghua@loongson.cn Date: Wed, 23 Nov 2022 16:59:17 +0800 In-Reply-To: <20221123064934.1560808-1-chenglulu@loongson.cn> References: <20221123064934.1560808-1-chenglulu@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD,LIKELY_SPAM_FROM,PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 2022-11-23 at 14:49 +0800, Lulu Cheng wrote: > =C2=A0=C2=A0=C2=A0 'A'=C2=A0Print a _DB suffix if the memory model requir= es a release. > =C2=A0=C2=A0=C2=A0 'b'=C2=A0Print the address of a memory operand, withou= t offset. > +=C2=A0=C2=A0 'c'=C2=A0 print an integer. Nit: 'c' Print an integer. to match the format of other entries. > =C2=A0=C2=A0=C2=A0 'C'=C2=A0Print the integer branch condition for compar= ison OP. > =C2=A0=C2=A0=C2=A0 'd'=C2=A0Print CONST_INT OP in decimal. > =C2=A0=C2=A0=C2=A0 'F'=C2=A0Print the FPU branch condition for comparison= OP. And I'd consider this a new feature and delay it to GCC 14: we never claimed we supported 'c' and it has not worked since the day one we merged LoongArch port. Is there any emergency reason to support 'c' in GCC 13? --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University