From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1668A3858C54; Sat, 29 Apr 2023 21:05:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1668A3858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682802326; bh=MtC+P6X7wSCh3LEftAgPR/lvjy/1Nrn3X6Fsupultao=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fMqmBMdO3MWQnEhrSTWDz5+syZ+wyTNFpjDOOldeATIfWLDv4uGYEY7+r2W3tVL/L 54I+HaHM2gh8QxfZ6UdYx9B4vCEbeQ3wXX3hrMYS42txzuhNCRcG6YYUQOwkJrCzP0 IloD2zV0v8KBNiFd9RizZ9ZH+uI1Hgqz35ZekMYI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/109676] [13/14 regression] ICE in simplify_subreg, at simplify-rtx.cc:7426 when building firefox with -O2 -march=alderlake -g Date: Sat, 29 Apr 2023 21:05:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 13.2 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=3D109676 --- Comment #7 from Andrew Pinski --- 102: (value/u:V1TI 24:24 @0x49b13d8/0x49a15f0) is at (mem/c:V1TI (value/u:DI 13:4290 @0x49b1328/0x49a1438) [0 p+0 S16 A128]) 102: (reg:V1TI 20 xmm0 [orig:91 p ] [91]) evaluates to (value/u/f:V1TI 24:24 @0x49b13d8/0x49a15f0) It is this which is causing the ICE: (insn 102 110 106 6 (set (reg:V1TI 20 xmm0 [orig:91 p ] [91]) (mem/c:V1TI (plus:DI (reg/f:DI 7 sp) (const_int 32 [0x20])) [0 p+0 S16 A128])) "/app/example.cpp":26:12 1838 {movv1ti_internal} (nil)) (debug_insn 106 102 107 6 (var_location:QI D#3 (mem/c:QI (plus:DI (reg/f:DI= 7 sp) (const_int 48 [0x30])) [0 p.mIsSome+0 S1 A128])) "/app/example.cpp":26:12 -1 (nil)) (debug_insn 107 106 108 6 (var_location:QI tmp$mIsSome (debug_expr:QI D#3)) "/app/example.cpp":26:12 -1 (nil)) I suspect it is doing a subreg for QI mode of a V1TI reg and simplify_subre= g is ICEing out.=