From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6496F385843E; Mon, 25 Oct 2021 11:41:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6496F385843E From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/102342] gm2 testsuite failures for non-default multilib Date: Mon, 25 Oct 2021 11:41:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2021 11:41:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102342 --- Comment #1 from Rainer Orth --- Created attachment 51660 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D51660&action=3Dedit proposed patch While testing a recent version of the modula-2 branch (386e7057d75043439f313085c4cbde8109459915), I developed the attached patch to fully address this issue, following the prove-of-concept one already included. With this patch, x86_64-pc-linux-gnu testresults (both -m64 and -m32 multilibs) are clean with the exception of Running target unix/-m32 FAIL: gm2/cpp/pass/subaddr.mod, -O FAIL: gm2/cpp/pass/subaddr.mod, -O -g FAIL: gm2/cpp/pass/subaddr.mod, -O3 -fomit-frame-pointer FAIL: gm2/cpp/pass/subaddr.mod, -O3 -fomit-frame-pointer -finline-functions FAIL: gm2/cpp/pass/subaddr.mod, -Os FAIL: gm2/cpp/pass/subaddr.mod, -g which is preexisting (PR modula2/102343). On i386-pc-solaris2.11, there ar= e a few more failures, also preexisting.=