From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AC383856DE8; Wed, 27 Sep 2023 13:39:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AC383856DE8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695821992; bh=soqY+TkRaLDZF62nmaUDLO3MA60RxggxVk3RYXR3OcY=; h=From:To:Subject:Date:From; b=BbVHn0xuDbiehlUlwLVBTY+pXH9M/UOlAGnOF3CbzGMbOPPLh/+c+Ul2BPAIEASSr PV8S8vGnitJ0l3oV8FObuATST8BqS3+HXygUMAkv6Iht35fjHK6PD/4W7SwQL5evlc kArWoZWDtOJPJN2SNfDW+6csGP8G4eZ1yd6bytx0= From: "shaohua.li at inf dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111614] New: [14 Regression] ICE at -O2: verify_gimple failed since r14-2282-gf703d2fd3f0 Date: Wed, 27 Sep 2023 13:39:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shaohua.li at inf dot ethz.ch 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 bug_severity priority component assigned_to reporter cc target_milestone 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111614 Bug ID: 111614 Summary: [14 Regression] ICE at -O2: verify_gimple failed since r14-2282-gf703d2fd3f0 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: shaohua.li at inf dot ethz.ch CC: rguenth at gcc dot gnu.org Target Milestone: --- gcc at -O2 crashes. Bisected to r14-2282-gf703d2fd3f0 Compiler explorer: https://godbolt.org/z/xG5Tosvnc $ cat a.c int a, b, c, d, e; static void f() { int *g =3D &b; b =3D 1; for (; b >=3D 0; b--) { c =3D 0; for (; c <=3D 1; c++) e =3D 0; for (; e <=3D 1; e++) { int h, i =3D h =3D 13; for (; h; h--) i =3D i << a; d &=3D i + c + 9 + *g; } } } int main() { f(); for (;;) ; } $ $ gcc -O3 a.c a.c: In function =E2=80=98main=E2=80=99: a.c:17:5: error: type mismatch in binary expression 17 | int main() { | ^~~~ vector(2) int vector(2) int vector(2) unsigned int _15 =3D vect__15.28_19 & _11; during GIMPLE pass: reassoc a.c:17:5: internal compiler error: verify_gimple failed 0x7f6a86416082 __libc_start_main ../csu/libc-start.c:308 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. $=