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

inline-asm: Fix some warnings #3393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CohenArthur
Copy link
Member

No description provided.

@CohenArthur CohenArthur added this to the black_box intrinsic milestone Jan 29, 2025
@CohenArthur
Copy link
Member Author

@badumbatish I'm going to make some changes to inline assembly, if you have time to review some PRs I'd appreciate your input :) I'll ping you

@badumbatish
Copy link
Contributor

@badumbatish I'm going to make some changes to inline assembly, if you have time to review some PRs I'd appreciate your input :) I'll ping you

Happy to help :) i'll try to put in some reviews soon!

gcc/rust/ChangeLog:

	* expand/rust-macro-builtins-asm.cc (strip_double_quotes): Special case empty
	strings ("\"\"").
	(parse_reg_operand): Remove use of the `struct` keyword.
	(parse_reg_operand_in): Likewise.
	(parse_reg_operand_out): Likewise.
	* expand/rust-macro-builtins.cc: Add llvm_asm! built-in macro as an alias to asm!.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants