public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111927] New: RISC-V: internal compiler error: in merge, at config/riscv/riscv-vsetvl.cc:1997
@ 2023-10-23  6:39 fanghuaqi at vip dot qq.com
  2023-10-23  6:45 ` [Bug target/111927] " juzhe.zhong at rivai dot ai
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fanghuaqi at vip dot qq.com @ 2023-10-23  6:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111927
           Summary: RISC-V: internal compiler error: in merge, at
                    config/riscv/riscv-vsetvl.cc:1997
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fanghuaqi at vip dot qq.com
  Target Milestone: ---

Created attachment 56173
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56173&action=edit
bug file compiled by risc-v rvv compiler

Hi, I met an issue when compile code attached using risc-v gcc
compiler(-march=rv64imafc_zve64f  -mabi=lp64f -O2) from master branch, and it
throw issue like below:

during RTL pass: vsetvl
<source>: In function 'riscv_lms_f32':
<source>:240:1: internal compiler error: in merge, at
config/riscv/riscv-vsetvl.cc:1997
  240 | }
      | ^
0x7ff32c9c0082 __libc_start_main
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1

Checked with gcc 13.2.0 and clang truck it both works well.

You can also check it in https://godbolt.org/z/4drnazzaf

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-23 10:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23  6:39 [Bug target/111927] New: RISC-V: internal compiler error: in merge, at config/riscv/riscv-vsetvl.cc:1997 fanghuaqi at vip dot qq.com
2023-10-23  6:45 ` [Bug target/111927] " juzhe.zhong at rivai dot ai
2023-10-23  6:49 ` fanghuaqi at vip dot qq.com
2023-10-23 10:00 ` cvs-commit at gcc dot gnu.org
2023-10-23 10:02 ` juzhe.zhong at rivai dot ai
2023-10-23 10:33 ` fanghuaqi at vip dot qq.com

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).