aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-builtins-log-debug.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2025-03-27 16:32:21 +0000
committerPhilip Herron <philip.herron@embecosm.com>2025-03-27 18:07:48 +0000
commit08bfb3550e76b14d6cb6e6eb1478bff79bacf091 (patch)
treeba3b873d37eee1fecd7d5f346d6fa1f66ef2cf98 /gcc/rust/expand/rust-macro-builtins-log-debug.cc
parentce8e35fc28ccc9ade61ff9c83fee55e2673acce8 (diff)
downloadgcc-08bfb3550e76b14d6cb6e6eb1478bff79bacf091.zip
gcc-08bfb3550e76b14d6cb6e6eb1478bff79bacf091.tar.gz
gcc-08bfb3550e76b14d6cb6e6eb1478bff79bacf091.tar.bz2
gccrs: Fix ICE when compiling path which resolves to trait constant
Fixes Rust-GCC#3552 gcc/rust/ChangeLog: * backend/rust-compile-resolve-path.cc (HIRCompileBase::query_compile): check for Expr trait * hir/rust-hir-dump.cc (Dump::visit): expr is optional gcc/testsuite/ChangeLog: * rust/compile/issue-3552.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins-log-debug.cc')
0 files changed, 0 insertions, 0 deletions