https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115591
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org Summary|ICE in riscv64-elf cross |internal error on global |compiler, handling imported |variable-length array |addresses | Build|x86_64-apple-darwin21.6.0 | Status|UNCONFIRMED |NEW Component|ada |target Last reconfirmed| |2024-06-23 Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- It's a buglet in the RISC-V back-end: (gdb) bt #0 internal_error (gmsgid=0x584aa67 "in %s, at %s:%d") at /home/eric/cvs/gcc/gcc/diagnostic.cc:2255 #1 0x0000000004ad30a2 in fancy_abort ( file=0x4ea1be0 "/home/eric/cvs/gcc/gcc/tree.cc", line=6488, function=0x4ea3cc1 "tree_to_uhwi") at /home/eric/cvs/gcc/gcc/diagnostic.cc:2380 #2 0x0000000002469386 in tree_to_uhwi (t=0x7ffff705aca8) at /home/eric/cvs/gcc/gcc/tree.cc:6488 #3 0x0000000002555b2e in riscv_valid_lo_sum_p (sym_type=SYMBOL_ABSOLUTE, mode=E_BLKmode, x=0x7ffff717bb58) at /home/eric/cvs/gcc/gcc/config/riscv/riscv.cc:1706