From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mengyan1223.wang (mengyan1223.wang [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id DA279385801E; Sat, 31 Jul 2021 10:28:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DA279385801E Received: from [192.168.124.4] (unknown [113.200.174.5]) (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@mengyan1223.wang) by mengyan1223.wang (Postfix) with ESMTPSA id 736DE66530; Sat, 31 Jul 2021 06:27:58 -0400 (EDT) Message-ID: <4e0f79978178b40c6e6d4053891d3741b9bdf4f0.camel@mengyan1223.wang> Subject: committed: [PATCH] mips: Fix up mips_atomic_assign_expand_fenv [PR94780] From: Xi Ruoyao To: Richard Sandiford Cc: Matthew Fortune , gcc-patches@gcc.gnu.org, Jakub Jelinek , "Maciej W. Rozycki" Date: Sat, 31 Jul 2021 18:27:51 +0800 In-Reply-To: <9e5d7876de629b60a5404b2b33871a5d97b6d207.camel@mengyan1223.wang> References: <84b8b6a1019dd2a6eb84daf6cc21358d8781f5b7.camel@mengyan1223.wang> <41b4eb8970718ada95ecf6b6de9dd3a515db6cff.camel@mengyan1223.wang> <8d76a84a712bbef5adc6d540d49f2728b98fed0a.camel@mengyan1223.wang> <9e5d7876de629b60a5404b2b33871a5d97b6d207.camel@mengyan1223.wang> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3032.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2021 10:28:02 -0000 On Sat, 2021-07-31 at 02:08 +0800, Xi Ruoyao via Gcc-patches wrote: > On Fri, 2021-07-30 at 16:23 +0800, Xi Ruoyao via Gcc-patches wrote: > > On Fri, 2021-07-30 at 09:11 +0100, Richard Sandiford wrote: > > > Xi Ruoyao writes: > > > > Ping again. > > > > > > > > On Wed, 2021-06-23 at 11:11 +0800, Xi Ruoyao wrote: > > > > > Commit message shamelessly copied from 1777beb6b129 by jakub: > > > > > > > > > > This function, because it is sometimes called even outside of > > > > > function > > > > > bodies, uses create_tmp_var_raw rather than create_tmp_var.  > > > > > But > > > > > in > > > > > order > > > > > for that to work, when first referenced, the VAR_DECLs need to > > > > > appear > > > > > in a > > > > > TARGET_EXPR so that during gimplification the var gets the > > > > > right > > > > > DECL_CONTEXT and is added to local decls. > > > > > > > > > > Bootstrapped & regtested on mips64el-linux-gnu.  Ok for trunk > > > > > and > > > > > backport > > > > > to 11, 10, and 9? > > > > > > OK for all, thanks. > > > > > > Similar comments to the previous message about the appropriateness > > > of me reviewing the patch, but like you say, this is doing for > > > MIPS > > > what we've already had to do for other targets. > > > > Thanks for reviewing. > > > > Will bootstrap and test it again, and commit if there is no > > regressions. > > Committed to master at 20656544 and releases/gcc-11 at 7db1795a. Commited to releases/gcc-10 at 613e4ebc and releases/gcc-9 at 79184d8c.