From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7CCDA3858403; Mon, 25 Jul 2022 07:24:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7CCDA3858403 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106432] New: ice in range_on_edge, at gimple-range.cc:204 Date: Mon, 25 Jul 2022 07:24:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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 attachments.created 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, 25 Jul 2022 07:24:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106432 Bug ID: 106432 Summary: ice in range_on_edge, at gimple-range.cc:204 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 53344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53344&action=3Dedit C source code The attached partially reduced C code does this with compiler flag -O3: $ ../results.20220724.asan.ubsan/bin/gcc -c -O3 bug831.c 2>&1 | more during GIMPLE pass: dom /home/dcb36/rpmbuild/BUILD/petsc-3.16.3/petsc-3.16.3/src/ts/utils/dmplexlan= dau/p lexland.c: In function =E2=80=98ProcessOptions=E2=80=99: /home/dcb36/rpmbuild/BUILD/petsc-3.16.3/petsc-3.16.3/src/ts/utils/dmplexlan= dau/p lexland.c:1418:23: internal compiler error: in range_on_edge, at gimple-range.cc :204 1418 | static PetscErrorCode ProcessOptions(LandauCtx *ctx, const char prefix[] ) | ^~~~~~~~~~~~~~ 0x1bec52d gimple_ranger::range_on_edge(vrange&, edge_def*, tree_node*) ../../trunk.git/gcc/gimple-range.cc:204 The problem first seems to occur sometime in the git hash range 1cc0e9a46e79e7cc..8b8103dcd2624936, a distance of 24 commits. I will finish the reduce and post it.=