diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-03-27 16:32:21 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-31 21:07:20 +0200 |
commit | 564d76525f6a7a17deb5632da84ff6eefd7c0ce5 (patch) | |
tree | 1a233c8aaf9dfb29b17389275f3a2dc7158de60f /gcc/fortran | |
parent | 405a294780dd12f242bb96540b1251091f13b051 (diff) | |
download | gcc-564d76525f6a7a17deb5632da84ff6eefd7c0ce5.zip gcc-564d76525f6a7a17deb5632da84ff6eefd7c0ce5.tar.gz gcc-564d76525f6a7a17deb5632da84ff6eefd7c0ce5.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/fortran')
0 files changed, 0 insertions, 0 deletions