From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1DD303858D28; Thu, 19 Oct 2023 11:57:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1DD303858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697716636; bh=uqesLAOIgoiyxQwF5H3FM9uYSj6OLjThOWBy5k0hA+o=; h=From:To:Subject:Date:From; b=MVCd5/O258OJoaukrfrjr3Ron+eDjgfnrCCx40dTXt3qBziQimO/2JFvouAdwrqbJ vYfkr74w80dfy4pB9D+X5ITdE7CPL9ucFOuPFMLMivjBSbu83P/82wv7sfYg/4ApPZ 41YUFBMaLe30w+cXR8IBrm5KyAqL+spGscx48wu8= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111878] New: [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record Date: Thu, 19 Oct 2023 11:57:15 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 target_milestone cf_gcchost cf_gcctarget 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=3D111878 Bug ID: 111878 Summary: [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 56151 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56151&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O3 -fgraphite-identity -fsave-optimization-record testcase.c during GIMPLE pass: graphite testcase.c: In function 'long_c2i': testcase.c:5:1: internal compiler error: in get_loop_exit_edges, at cfgloop.cc:1204 5 | long_c2i (long utmp, int i) | ^~~~~~~~ 0x71d5c7 get_loop_exit_edges(loop const*, basic_block_def**) /repo/gcc-trunk/gcc/cfgloop.cc:1204 0x177ed5e find_loop_location(loop*) /repo/gcc-trunk/gcc/tree-vect-loop-manip.cc:1844 0x25dd9db graphite_transform_loops() /repo/gcc-trunk/gcc/graphite.cc:478 0x25ddb70 graphite_transforms /repo/gcc-trunk/gcc/graphite.cc:541 0x25ddb70 execute /repo/gcc-trunk/gcc/graphite.cc:620 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. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-13-branch/binary-latest-amd64/bin/x86_64-pc-linux-g= nu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-13-branch/binary-13-branch-20231014001921-g= a9f39860efa-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-li= nux-gnu/13.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-13-branch//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-13-branch//binary-13-branch-20231014001921-ga9f39860ef= a-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.2.1 20231014 (GCC)=