summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java
diff options
context:
space:
mode:
authorLucas Ly Ba <lucas.ly-ba@outlook.fr>2025-10-15 13:23:05 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-11-17 15:58:17 +0100
commitc8bd8f99fe2fe98622fe8da9006b162a343f5cb6 (patch)
tree4dd4d3169e5787da15d345aa1d6235c4cd9ba11a /libjava/classpath/gnu/java
parent9acc6d887647301a2d1c6b3559d16996c47f0801 (diff)
gccrs: fix segfault on exported macro
An imbricated exported macro leads to a segfault. gcc/rust/ChangeLog: * metadata/rust-export-metadata.cc (ExportContext::emit_macro): Change method argument NodeId to AST::MacroRulesDefinition. * metadata/rust-export-metadata.h: Likewise. * util/rust-hir-map.cc (Mappings::insert_exported_macro): Insert AST::MacroRulesDefinition instead of NodeId. * util/rust-hir-map.h: Change methods declarations of exported macros. gcc/testsuite/ChangeLog: * rust/compile/issue-3617.rs: New test. Signed-off-by: Lucas Ly Ba <lucas.ly-ba@outlook.fr>
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions