Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gccrs: fix ICE during HIR dump #3346

Merged
merged 1 commit into from
Jan 6, 2025
Merged

gccrs: fix ICE during HIR dump #3346

merged 1 commit into from
Jan 6, 2025

Conversation

philberty
Copy link
Member

These hir nodes have optional expressions which need guarded

gcc/rust/ChangeLog:

* hir/rust-hir-dump.cc (Dump::do_qualifiedpathtype): add guard
(Dump::do_traitfunctiondecl): likewise
(Dump::visit): likewise

These hir nodes have optional expressions which need guarded

gcc/rust/ChangeLog:

	* hir/rust-hir-dump.cc (Dump::do_qualifiedpathtype): add guard
	(Dump::do_traitfunctiondecl): likewise
	(Dump::visit): likewise

Signed-off-by: Philip Herron <[email protected]>
@philberty philberty added the bug label Jan 6, 2025
@philberty philberty added this to the Remaining typecheck issues milestone Jan 6, 2025
@philberty philberty self-assigned this Jan 6, 2025
@philberty philberty added this pull request to the merge queue Jan 6, 2025
Merged via the queue into master with commit 48aa71c Jan 6, 2025
12 checks passed
@philberty philberty deleted the phil/hir-dump-crash branch January 7, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant