aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-gcc.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2025-03-28 16:59:33 +0000
committerPhilip Herron <philip.herron@embecosm.com>2025-03-28 18:34:20 +0000
commita0b21c94157d85f4ab87aa9aee83cb629678f72a (patch)
treebc773c5bb2e8812f2bd3b1d00ec94d7c348629da /gcc/rust/rust-gcc.cc
parentebac3ab5bec8a6f08f4549edfee799e64c719d0c (diff)
downloadgcc-a0b21c94157d85f4ab87aa9aee83cb629678f72a.zip
gcc-a0b21c94157d85f4ab87aa9aee83cb629678f72a.tar.gz
gcc-a0b21c94157d85f4ab87aa9aee83cb629678f72a.tar.bz2
gccrs: Fix ICE in array ref constexpr
Since 898d55ad7e2 was fixed to remove the VIEW_CONVERT_EXPR from array expressions we can now turn on the array element access const expr. Fixes Rust-GCC#3563 gcc/rust/ChangeLog: * backend/rust-constexpr.cc (eval_store_expression): turn this back on gcc/testsuite/ChangeLog: * rust/compile/issue-3563.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/rust-gcc.cc')
0 files changed, 0 insertions, 0 deletions