From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B77C03858D1E; Wed, 21 Jun 2023 04:57:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B77C03858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687323470; bh=9QkSCwNCaka1Tnhpm4Qhxj++87wWAIXrqQ5AZ3pSViY=; h=From:To:Subject:Date:From; b=brEeB/AVz0JXnw45/nQIbFl8BoFvXIzWwAoYxhg8DxEytN/6/k17EU8vmSfDR46j/ /avLSVXcakOI/mr4czplsQWi/9kmz91FV3RmVjgv9YsXdTShpbemgy6MAxJY4060kH 8MRUjh6nkzyRKGjtQr4sA21+WdVQkfbm6iQjlUIk= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110332] New: [14 regression] ICE in dominated_by_p when building LLVM with -O3 Date: Wed, 21 Jun 2023 04:57:50 +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: sjames 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110332 Bug ID: 110332 Summary: [14 regression] ICE in dominated_by_p when building LLVM with -O3 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 55377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55377&action=3Dedit SplitKit.ii.xz ``` # /usr/bin/aarch64-unknown-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MA= CROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm_build-.arm64/lib/CodeGen -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm_build-.arm64/include -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/include -DNDEBUG -O3 -p= ipe -mcpu=3Dnative -fdiagnostics-color=3Dalways -fPIC -fno-semantic-interpositi= on -fvisibility-inlines-hidden -Werror=3Ddate-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthr= ough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=3Dc++17 -fdiagnostics-color=3Dalways -c /var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen/SplitKit.cpp -save-temps aarch64-unknown-linux-gnu-g++: warning: =E2=80=98-pipe=E2=80=99 ignored bec= ause =E2=80=98-save-temps=E2=80=99 specified during GIMPLE pass: phiprop /var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen/SplitKit.cpp: = In member function =E2=80=98bool llvm::SplitEditor::transferValues()=E2=80=99: /var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen/SplitKit.cpp:1= 888:1: internal compiler error: Segmentation fault 1888 | } | ^ 0xaaaab5e4625f crash_signal =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/toplev.cc:314 0xaaaab58a4ec8 dominated_by_p(cdi_direction, basic_block_def const*, basic_block_def const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/dominance.cc:1= 128 0xaaaab603cd8f propagate_with_phi =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-phipr= op.cc:408 0xaaaab603cd8f execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-phipr= op.cc:528 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. ``` ``` gcc (Gentoo 14.0.0 p, commit 6cb33e2f39e289ec4f25f845d8153053147c5c49) 14.0= .0 20230620 (experimental) f5d0cec170d6d5496edf4038499d288c07d79b18 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ```=