aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-07-06 11:56:19 +0200
committerEric Botcazou <ebotcazou@adacore.com>2024-07-06 17:19:02 +0200
commit6c5ef4944e3858e7daf1ef75a3afa93a3ece37c5 (patch)
tree4684f7ff43fd9ea2280b6ff4a0815242beabe3ab /gcc/gcc.c
parent7124ad8642a8e955bbfa77b37ee568ead77826cb (diff)
downloadgcc-releases/gcc-14.zip
gcc-releases/gcc-14.tar.gz
gcc-releases/gcc-14.tar.bz2
RISC-V: fix internal error on global variable-length arrayreleases/gcc-14
This is an ICE in the RISC-V back-end calling tree_to_uhwi on the DECL_SIZE of a global variable-length array. gcc/ PR target/115591 * config/riscv/riscv.cc (riscv_valid_lo_sum_p): Add missing test on tree_fits_uhwi_p before calling tree_to_uhwi. gcc/testsuite/ * gnat.dg/array41.ads, gnat.dg/array41.adb: New test.
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions