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

            Bug ID: 122627
           Summary: [16 Regression] RISC-V rv64gcvb: ICE at -O0 during RTL
                    pass: reload
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xxs_chy at outlook dot com
  Target Milestone: ---

Created attachment 62751
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62751&action=edit
reproducer

Reproducer: https://godbolt.org/z/efeqhsqPz
Testcase is attached.

Commands:
> riscv64-unknown-linux-musl-gcc -O0 -march=rv64gcvb reduced.c
gcc reported:
double free or corruption (!prev)
during RTL pass: reload
<source>: In function 'func_56':
<source>:191:1: internal compiler error: Aborted
  191 | }
      | ^
0x712a97e969fc pthread_kill
        ???:0
0x712a97e42475 raise
        ???:0
0x712a97e287f2 abort
        ???:0
0x712a97ea5452 __libc_free
        ???:0
0x712a97e29e3f __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

Reply via email to