From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4DDEE3858407; Sun, 5 Jun 2022 21:31:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DDEE3858407 From: "roger at nextmovesoftware dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105856] [13 Regression] ice in emit_move_insn, at expr.cc:4011 Date: Sun, 05 Jun 2022 21:31:42 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: roger at nextmovesoftware dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: roger at nextmovesoftware dot com X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc assigned_to cc priority version bug_status keywords target_milestone cf_reconfirmed_on cf_gcctarget everconfirmed 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: Sun, 05 Jun 2022 21:31:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105856 Roger Sayle changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ice in emit_move_insn, at |[13 Regression] ice in |expr.cc:4011 |emit_move_insn, at | |expr.cc:4011 Assignee|unassigned at gcc dot gnu.org |roger at nextmoveso= ftware dot com CC| |roger at nextmovesoftware = dot com Priority|P3 |P1 Version|12.0 |13.0 Status|UNCONFIRMED |ASSIGNED Keywords| |ice-on-valid-code Target Milestone|--- |13.0 Last reconfirmed| |2022-06-05 Target| |arm* Ever confirmed|0 |1 --- Comment #2 from Roger Sayle --- Mine. Sorry for the breakage. I've a fix that avoids the ICE on ARM, and allows GCC to generate the following code for this testcase: g_329_3: mov r0, #6 b func_19 [i.e. the same code as without the #pragma pack(1)]. This is a big improvement on GCC v12 which generates (both with and without #pragma pack(1)): g_329_3: movw r3, #:lower16:.LANCHOR0 movt r3, #:upper16:.LANCHOR0 ldr r0, [r3] b func_19 I'm bootstrapping and regression testing on x86_64 now.=