From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 75D613858D1E; Mon, 19 Sep 2022 14:15:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75D613858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663596955; bh=xuaZRq4OAlsrb5KXzPPsTCIfMEXq+emPTY9MjNzH3I8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eK+bUKYuMLASAizoMzWxzJQRIz+oTAXVfAsvUC4s23w+VptmCTJyVcynvzpR7vGqM Ktwx7qTx0mHOoybu8Hx+yLnq9qoTqSS+o97u2l7/z6ebMCnHdKRsJzLSQzrqal4ZCt 2be0MpGRLaEXJNaFHC/XstcsRNd8Kmr0idOz+8o0= From: "christian.ehrhardt at canonical dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn" Date: Mon, 19 Sep 2022 14:15:55 +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: 12.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: christian.ehrhardt at canonical dot com 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: 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=3D106966 --- Comment #3 from Christian Ehrhardt --- > Just drop -mbuild-constants. Thanks for the hint Uro=C5=A1, but I'm not sure if one can do that, this op= tion is from [1]. I do not have the background on this, but it reads as there was a reason "Use -mbuild-constants to prevent the compiler using static data" to= set this which seems more breaking than my current workaround (reduce -O2 to -O= 1). [1]: https://github.com/qemu/qemu-palcode/commit/0830e72f0bce29bdf1de0d67ad503a9= a8b99c968=