From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E1EA3858C78; Sun, 15 Oct 2023 06:14:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E1EA3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697350472; bh=gp5JwUbd7/z9vbz5zaoowAQpwPu9NylAqA3vEMQcIZ8=; h=From:To:Subject:Date:From; b=j43IAaDZj+z6lmAwTypw76rddJxvf1EwTDv97CK1U6oUcGl+a8QErT4OPO3CtYlyJ O4F9sYIyx+y84hAewY/z2Dca14SBl/riPkSeI4kEMbaF5SLMPfDOm7gx2gDdSVOwxK 9OkxSPNDUzpE6REOMA7pQgxcP5eOKNbK3ihO5dWY= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/111822] New: [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions Date: Sun, 15 Oct 2023 06:14:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-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=3D111822 Bug ID: 111822 Summary: [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-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 56115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56115&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions testcase.C=20 during RTL pass: lr_shrinkage testcase.C: In member function 'void SQVM::CallNative()': testcase.C:41:1: internal compiler error: in operator[], at vec.h:910 41 | } | ^ 0x7f615a vec::operator[](unsigned int) /repo/gcc-trunk/gcc/vec.h:910 0x7f63db vec::operator[](unsigned int) /repo/gcc-trunk/gcc/vec.h:936 0x7f63db pre_and_rev_post_order_compute_fn(function*, int*, int*, bool) /repo/gcc-trunk/gcc/cfganal.cc:1066 0x123b947 pre_and_rev_post_order_compute(int*, int*, bool) /repo/gcc-trunk/gcc/cfganal.cc:1079 0x1203292 init_alias_analysis() /repo/gcc-trunk/gcc/alias.cc:3429 0x285e960 sched_init() /repo/gcc-trunk/gcc/haifa-sched.cc:7331 0x286030d haifa_sched_init() /repo/gcc-trunk/gcc/haifa-sched.cc:7368 0x174ff5c schedule_insns() /repo/gcc-trunk/gcc/sched-rgn.cc:3524 0x175063b schedule_insns() /repo/gcc-trunk/gcc/sched-rgn.cc:3518 0x175063b rest_of_handle_live_range_shrinkage /repo/gcc-trunk/gcc/sched-rgn.cc:3720 0x175063b execute /repo/gcc-trunk/gcc/sched-rgn.cc:3807 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-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r14-4642-20231015125226-= g77faa3e198a-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc= /x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --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-trunk//binary-trunk-r14-4642-20231015125226-g77faa3e19= 8a-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231015 (experimental) (GCC)=