From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4330D3853819; Thu, 27 May 2021 20:26:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4330D3853819 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn) Date: Thu, 27 May 2021 20:26: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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on bug_status everconfirmed cc 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: Thu, 27 May 2021 20:26:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96762 Michael Meissner changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-05-27 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |meissner at gcc dot gnu.org --- Comment #1 from Michael Meissner --- The example only shows the bug with big endian, 32-bit without optimization= .=20 If you optimize the code, the array assignment goes away. Here is a better example that can be optimized: extern void foo (char *); void g4 (void) { char zj[] =3D "XXXXXXXXXXXXXXXX"; foo (zj); } With the current trunk (as of May 27th) the new example fails at no optimization, -O1, and -O2.=