From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B821D3858D35; Mon, 1 Jan 2024 14:01:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B821D3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704117676; bh=vgODKpLFTDAMo6KOiSO0Comv+j83an9kdzsCuedSmY0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SsAYiNbyzPC3xQTJAE5a2WJhuI5+ihLGz2Qic//YRuMgjYAN3rqg9h1nzn9qWeds4 Tm12zuXHor4Ragt8cKQsiMFUWPHJinKOATYK3qfVFJaJStsMrBVpxu3SiD8Za0iGCL yn8YMIZeACbJX5ScjYEpt3BGTQ3eGZGPOpjkczX8= From: "glaubitz at physik dot fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108208] Bad assembly? on large LLVM source files on powerpc-unknown-linux-gnu (Error: operand out of range) Date: Mon, 01 Jan 2024 14:01:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108208 --- Comment #8 from John Paul Adrian Glaubitz --- (In reply to Segher Boessenkool from comment #7) > This PR is for the sysv ABI, while most discussion was about the "ELFv1" = ABI. Doesn't the subject clearly mention "powerpc-unknown-linux-gnu"? > Only the 64-bit ABIs have the code model ABI, for the powerpc*-*-* > configurations. > Some other architectures have it for more things, and some for fewer, or > even none. I am trying -O3 now. > If you get an error at line 577996 of a source file, changes are your code > is just > completely unreasonably large, esp. on a smaller target like this :-) I understand. But it's not always possible to change the code size, especia= lly when the code is not mine but some random upstream code. What I don't understand is that other 32-bit architectures don't seem to be affected. For example, hppa-unknown-linux-gnu is not affected. And, secondly, using LLVM as the bootstrap compiler resolves the issue with LLVM for me.=