From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E014F398B84E; Thu, 5 Aug 2021 08:16:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E014F398B84E From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101505] [10/11 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 0) Date: Thu, 05 Aug 2021 08:16:25 +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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.4 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 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, 05 Aug 2021 08:16:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101505 --- Comment #7 from Richard Biener --- (In reply to David Binderman from comment #5) > Certainly works for -O3, but doesn't for -O3 -march=3Dbdver2. >=20 > during RTL pass: expand > ./gcc.dg/vect/pr101505.c: In function =E2=80=98w7.simdclone.6=E2=80=99: > ./gcc.dg/vect/pr101505.c:15:10: internal compiler error: in expand_mult, = at > expm > ed.c:3585 > 15 | return xb; > | ^~ > 0x91344a expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, boo= l) > ../../trunk.git/gcc/expmed.c:3585 >=20 > It breaks sometime between git hash 145bc41dae7c7bfa and 14d8a5ae472ca574 This is a different bug though, probably caused by HJs changes, looks like the fixed PR101742, indeed updating and re-building my dev tree makes the issue go away. gcc.dg/vect/pr101505.c:15:10: internal compiler error: in expand_mult, at expmed.c:3585 0xe14f0a expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool) /home/rguenther/src/gcc2/gcc/expmed.c:3585 0xc3584d builtin_memset_gen_str /home/rguenther/src/gcc2/gcc/builtins.c:4124 0xe25ee4 pieces_addr::adjust(fixed_size_mode, long, by_pieces_prev*) /home/rguenther/src/gcc2/gcc/expr.c:1036 0xe268a8 op_by_pieces_d::run() /home/rguenther/src/gcc2/gcc/expr.c:1252 0xe273ed store_by_pieces(rtx_def*, unsigned long, rtx_def* (*)(void*, void*, long, fixed_size_mode), void*, unsigned int, bool, memop_ret) /home/rguenther/src/gcc2/gcc/expr.c:1579=