]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix ICE during hir dump of deferred anon constant
authorPhilip Herron <herron.philip@googlemail.com>
Thu, 31 Jul 2025 20:17:18 +0000 (21:17 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:37:01 +0000 (16:37 +0200)
commit3e141c0cd3e0a926734bfb4f1c7f6f7558c47fa9
treeeabdd6cc377b57a634eb14844894928561e5edbb
parent7f0fed0bfea5ea401d99f8afd4ce9b159aaf9381
gccrs: Fix ICE during hir dump of deferred anon constant

gcc/rust/ChangeLog:

* hir/rust-hir-dump.cc (Dump::visit): check for expression
* hir/tree/rust-hir.cc (AnonConst::as_string): likewise

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/hir/rust-hir-dump.cc
gcc/rust/hir/tree/rust-hir.cc