Skip to content
Snippets Groups Projects
Commit f4c818c6 authored by Arthur Cohen's avatar Arthur Cohen
Browse files

gccrs: intrinsics: Cleanup error handling around atomic_store_*

gcc/rust/ChangeLog:

	* backend/rust-compile-intrinsic.cc (check_for_basic_integer_type): New function.
	(build_atomic_builtin_name): Use HIR Type instead of `tree`.
	(atomic_store_handler_inner): Cleanup error handling.
	(unchecked_op_inner): Likewise.

gcc/testsuite/ChangeLog:

	* rust/compile/torture/intrinsics-5.rs: Fix error message.
parent cb2cf21c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment