diff options
| author | Lucas Ly Ba <lucas.ly-ba@outlook.fr> | 2025-10-15 13:23:05 +0000 |
|---|---|---|
| committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-11-17 15:58:17 +0100 |
| commit | c8bd8f99fe2fe98622fe8da9006b162a343f5cb6 (patch) | |
| tree | 4dd4d3169e5787da15d345aa1d6235c4cd9ba11a /libjava/classpath/gnu/java/beans/decoder | |
| parent | 9acc6d887647301a2d1c6b3559d16996c47f0801 (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/beans/decoder')
0 files changed, 0 insertions, 0 deletions
