]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix infinite loop on inline assembly clobbers
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 11 Aug 2025 14:22:32 +0000 (16:22 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:37 +0000 (20:58 +0100)
commit0137edd2597d6d76ea9e901d3a6d81744f6cf9eb
tree4affbd19cc3fbb8510a4d119427b1f75e1dcf1c4
parent67b3b25895648afda905c38c75dd91d8c3445b4c
gccrs: Fix infinite loop on inline assembly clobbers

Fix Rust-GCC/gccrs#4046 where the inline llvm_asm macro parser did not
expect a comma.

gcc/rust/ChangeLog:

* expand/rust-macro-builtins-asm.cc (parse_llvm_clobbers): Expect a
comma between clobbers.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/expand/rust-macro-builtins-asm.cc