From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DDF763857827; Mon, 19 Jul 2021 07:35:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDF763857827 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101505] New: [10/11/12 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 0) Date: Mon, 19 Jul 2021 07:35:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: asolokha at gmx 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: Mon, 19 Jul 2021 07:35:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101505 Bug ID: 101505 Summary: [10/11/12 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 0) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc-12.0.0-alpha20210718 snapshot (g:6ae8aac19cdbdbd96d90f86e4d8505fe121bdf= 06) ICEs when compiling the following testcase w/ -O1: int n2; __attribute__ ((simd)) char w7 (void) { short int xb =3D n2; int qp; for (qp =3D 0; qp < 2; ++qp) xb =3D xb < 1; return xb; } % aarch64-linux-gnu-gcc-12.0.0 -O1 -c zo3xlee1.c zo3xlee1.c: In function 'w7.simdclone.0': zo3xlee1.c:4:1: error: incompatible types in 'PHI' argument 0 4 | w7 (void) | ^~ vector(8) unsigned char vector(8) vect__18.21_29 =3D PHI during GIMPLE pass: vect zo3xlee1.c:4:1: internal compiler error: verify_gimple failed 0xf62af7 verify_gimple_in_cfg(function*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20210718/work/gcc-= 12-20210718/gcc/tree-cfg.c:5536 0xe291ce execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20210718/work/gcc-= 12-20210718/gcc/passes.c:2042 0xe298d1 do_per_function =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20210718/work/gcc-= 12-20210718/gcc/passes.c:1687 0xe298d1 execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20210718/work/gcc-= 12-20210718/gcc/passes.c:2096=