From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8881B3851C36; Fri, 19 Jun 2020 07:25:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8881B3851C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592551518; bh=pM2A/kngILp0Zj7Z/TVRRb3d8Z41IdIfF4Ou5jnaY+Q=; h=From:To:Subject:Date:From; b=faIeavX8ZJVZlyxJc4tuBKpYo4ycLr+L3Emh/2cb4iWz9Dz7+eXOt+Fmw41Sy8flm e2UOuWVIVj0yLgkuI9Aw6vjH0FgkYLSVGML30ssLk8f8bVqhMiil+ljhQM+ieyXU/v i0J57Rhd8QSWxVKy2MfWXpGAOOG+WZUK2yfHUdGA= From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/95761] New: [11 regression] ICE during GIMPLE pass: slp verify_ssa failed Date: Fri, 19 Jun 2020 07:25:18 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail 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 bug_severity priority component assigned_to reporter 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 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: Fri, 19 Jun 2020 07:25:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95761 Bug ID: 95761 Summary: [11 regression] ICE during GIMPLE pass: slp verify_ssa failed Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r11-1451 PASS r11-1512 FAIL `gcc -O2' PASS $ gcc -O3 -c x_1.i x_1.i: In function 'k': x_1.i:10:6: error: definition in block 3 follows the use 10 | void k() { | ^ for SSA_NAME: vect__2.17_23 in statement: vect__124.21_25 =3D vect_cst__58 + vect__2.17_23; during GIMPLE pass: slp x_1.i:10:6: internal compiler error: verify_ssa failed 0x123ff3d verify_ssa(bool, bool) /home/dimhen/src/gcc_current/gcc/tree-ssa.c:1208 0xf37d25 execute_function_todo /home/dimhen/src/gcc_current/gcc/passes.c:1992 0xf38a5c do_per_function /home/dimhen/src/gcc_current/gcc/passes.c:1640 0xf38a5c execute_todo /home/dimhen/src/gcc_current/gcc/passes.c:2039 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ cat x_1.i typedef int a[10]; typedef struct { a b; a c; a d; a e; } f; f g; int *j; void k() { for (;;) { a l; j[0] =3D g.b[0]; int *h =3D g.d; int i =3D 0; for (; i < 10; i++) h[i] =3D l[0] - g.e[0]; h =3D g.e; i =3D 0; for (; i < 10; i++) h[i] =3D l[1] + g.e[i]; } } Sorry for hyper-reduction=