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 121FD385087D for ; Mon, 6 Mar 2023 03:16:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 121FD385087D 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=1678072600; bh=XH2U81wcNwjkrO6yKi79xtn+0f7mua9LesNrVdaf0dc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=IqyM3OUJ5v6gDewVRttAInNmTBGSGObcnJ8w/8QHm+LtZQ0ncV5C7usdwVkdnw8+h Hk0QG1Qll2iASiOLD013aShLCTjgOA/U3nRShYaAzc4jHhufDpmbI0lFhceZal7OkR 9t/qRaWNKrnklHkajVwZScKaF78gIBSnIf6cdHPI= Received: from [IPv6:240e:358:118d:7900:dc73:854d:832e:6] (unknown [IPv6:240e:358:118d:7900:dc73:854d:832e:6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384)) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 4731D65EB4; Sun, 5 Mar 2023 22:16:36 -0500 (EST) Message-ID: Subject: Re: [PATCH 0/2] LoongArch: testsuite: Fix tests related to stack From: Xi Ruoyao To: Lulu Cheng Cc: gcc-patches@gcc.gnu.org, WANG Xuerui , Chenghua Xu , Yujie Yang , Mike Stump Date: Mon, 06 Mar 2023 11:16:33 +0800 In-Reply-To: <87e2942cfc448710c4759aedbbe0f34f05a76aeb.camel@xry111.site> References: <20230303084011.8989-1-xry111@xry111.site> <9b7181b2-00b5-9fd1-316e-979cf580e6e1@loongson.cn> <87e2942cfc448710c4759aedbbe0f34f05a76aeb.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,LIKELY_SPAM_FROM,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 Mon, 2023-03-06 at 10:48 +0800, Xi Ruoyao wrote: > On Mon, 2023-03-06 at 09:15 +0800, Lulu Cheng wrote: > >=20 > > =E5=9C=A8 2023/3/6 =E4=B8=8A=E5=8D=8812:21, Xi Ruoyao =E5=86=99=E9=81= =93: > > > On Fri, 2023-03-03 at 08:21 -0800, Mike Stump wrote: > > > > On Mar 3, 2023, at 12:40 AM, Xi Ruoyao via Gcc-patches > > > > wrote: > > > > > Some trivial test case fixes.=C2=A0 Ok for trunk? > > > > Ok. > > > Lulu: if you don't object I'll push these two in this week. > > >=20 > > > I tried to bisect for the exact point where the test cases are broken= , > > > but it turns out they are broken the first day committed (r13-4401).= =C2=A0 As > > > the draft of r13-4401 was sent in Sept 2022 but it's committed in Nov > > > 2022, I can only guess something had changed in the two months and br= oke > > > the tests... > >=20 > > Sorry for the late reply, the first patch I think is fine. But I haven'= t=20 > > reproduced the problem of the second mail. > >=20 > > Is there any special option in the configuration? >=20 > Oh some strange thing might be happening... I'll try to figure out what > has caused the behavior difference. Oh no, the difference is caused by --enable-default-pie. Maybe I should just add -fno-PIE for the dg-options. But now I'm still puzzled: why would -fPIE affect code generation on LoongArch? AFAIK all the code we are generating is position independent (at least for now). >=20 --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University