public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "malat at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/109535] New: internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471
Date: Mon, 17 Apr 2023 08:19:25 +0000	[thread overview]
Message-ID: <bug-109535-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535

            Bug ID: 109535
           Summary: internal compiler error: in finalize_new_accesses, at
                    rtl-ssa/changes.cc:471
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: malat at debian dot org
  Target Milestone: ---

I cannot compile highway on riscv/rv64gcv1p0 with gcc-13.

Compilation fais with:

% /usr/bin/g++-13 -freport-bug -DHWY_SHARED_DEFINE
-I"/home/malat/highway-1.0.4~git20230317.8681eb8" -g -O2
-ffile-prefix-map=/home/malat/highway-1.0.4~git20230317.8681eb8=.
-fstack-protector-strong -Wformat -Werror=format-security -DHWY_BROKEN_EMU128=0
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -fvisibility=hidden
-fvisibility-inlines-hidden -Wno-builtin-macro-redefined
-D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\"
-fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla
-Wnon-virtual-dtor -fmath-errno -fno-exceptions -march=rv64gcv1p0 -Werror
-DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT
CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o -MF
CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o.d -o
CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o -c
'/home/malat/highway-1.0.4~git20230317.8681eb8/hwy/contrib/algo/transform_test.cc'
during RTL pass: vsetvl
/home/malat/highway-1.0.4~git20230317.8681eb8/hwy/contrib/algo/transform_test.cc:
In function 'void hwy::N_RVV::ForeachCountAndMisalign<Test>::operator()(T, D)
const [with T = unsigned char; D = hwy::N_RVV::Simd<unsigned char, 8192, 2>;
Test = hwy::N_RVV::TestGenerate]':
/home/malat/highway-1.0.4~git20230317.8681eb8/hwy/contrib/algo/transform_test.cc:133:3:
internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471
  133 |   }
      |   ^
0xf4b18d rtl_ssa::function_info::finalize_new_accesses(rtl_ssa::insn_change&)
        ../../src/gcc/rtl-ssa/changes.cc:471
0xf4c0a7
rtl_ssa::function_info::change_insns(array_slice<rtl_ssa::insn_change*>)
        ../../src/gcc/rtl-ssa/changes.cc:659
0xb4f1e7 rtl_ssa::function_info::change_insn(rtl_ssa::insn_change&)
        ../../src/gcc/rtl-ssa/changes.cc:717
0xb4f1e7 change_insn
        ../../src/gcc/config/riscv/riscv-vsetvl.cc:1028
0xb4f1e7 pass_vsetvl::cleanup_insns() const
        ../../src/gcc/config/riscv/riscv-vsetvl.cc:3951
0xb59891 pass_vsetvl::lazy_vsetvl()
        ../../src/gcc/config/riscv/riscv-vsetvl.cc:4211
0xb59a7d pass_vsetvl::execute(function*)
        ../../src/gcc/config/riscv/riscv-vsetvl.cc:4241
0xb59a7d pass_vsetvl::execute(function*)
        ../../src/gcc/config/riscv/riscv-vsetvl.cc:4222
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.

             reply	other threads:[~2023-04-17  8:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17  8:19 malat at debian dot org [this message]
2023-04-17  8:23 ` [Bug target/109535] " malat at debian dot org
2023-04-17  8:49 ` rsandifo at gcc dot gnu.org
2023-04-17  9:19 ` juzhe.zhong at rivai dot ai
2023-04-17  9:26 ` juzhe.zhong at rivai dot ai
2023-04-17 10:00 ` kito at gcc dot gnu.org
2023-04-17 14:04 ` pan2.li at intel dot com
2023-04-17 14:54 ` kito at gcc dot gnu.org
2023-04-17 15:05 ` juzhe.zhong at rivai dot ai
2023-04-17 15:13 ` rsandifo at gcc dot gnu.org
2023-04-18  2:05 ` juzhe.zhong at rivai dot ai
2023-04-20 12:30 ` [Bug target/109535] [13/14] " kito at gcc dot gnu.org
2023-04-20 13:21 ` cvs-commit at gcc dot gnu.org
2023-04-20 14:30 ` juzhe.zhong at rivai dot ai
2023-04-20 15:02 ` malat at debian dot org
2023-04-20 22:44 ` juzhe.zhong at rivai dot ai
2023-04-21  1:46 ` juzhe.zhong at rivai dot ai
2023-05-04  3:22 ` [Bug target/109535] [13 regression] " cvs-commit at gcc dot gnu.org
2023-05-04  3:23 ` kito at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109535-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).