From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A9E533858415; Thu, 30 Sep 2021 10:12:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9E533858415 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102542] New: [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94 Date: Thu, 30 Sep 2021 10:12:49 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org 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 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 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, 30 Sep 2021 10:12:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102542 Bug ID: 102542 Summary: [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: aldyh at gcc dot gnu.org Target Milestone: --- The following crashes: $ cat block-5.c int a[200][200]; int b_j; void b() { int i; b_j =3D 1; for (; b_j < 200; b_j++) { i =3D 0; for (; i < 200; i++) a[i][b_j] =3D a[i][b_j - 1]; } } $ gcc block-5.c -c -fno-tree-ch -O3 -c during GIMPLE pass: unrolljam block-5.c: In function =E2=80=98b=E2=80=99: block-5.c:5:6: internal compiler error: Segmentation fault 5 | void b() { | ^ 0xf053da crash_signal /home/marxin/Programming/gcc/gcc/toplev.c:328 0x7ffff789979f ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.34-1.2.x86_64/signal/../sysdeps/unix/sysv/linux/x86_= 64/libc_sigaction.c:0 0x107a35c tree_transform_and_unroll_loop(loop*, unsigned int, edge_def*, tree_niter_desc*, void (*)(loop*, void*), void*) /home/marxin/Programming/gcc/gcc/tree-ssa-loop-manip.c:1425 0x1b6324b tree_loop_unroll_and_jam /home/marxin/Programming/gcc/gcc/gimple-loop-jam.c:590 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=