diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2024-12-16 14:12:42 +0100 |
---|---|---|
committer | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2024-12-18 16:06:20 +0100 |
commit | 15dbb0a9ee8317c2a1983793d532c1f814ae1e33 (patch) | |
tree | 4532f4b2eab9a45f7374299d18e59b7527235e43 /gcc/config/arm | |
parent | 40f243e91796671701ded90919d1ca32ba9076ad (diff) | |
download | gcc-15dbb0a9ee8317c2a1983793d532c1f814ae1e33.zip gcc-15dbb0a9ee8317c2a1983793d532c1f814ae1e33.tar.gz gcc-15dbb0a9ee8317c2a1983793d532c1f814ae1e33.tar.bz2 |
arm: Escape semicolon in thumb1.md
Without escaping the semicolon, the generated assembler output will not
match the expected assmbler in the test cases.
Fixes Linaro CI reported regression on r15-6166-gb7e11b499922 in
https://linaro.atlassian.net/browse/GNU-1464.
gcc/ChangeLog:
* config/arm/thumb1.md (thumb1_cbz): Escape the semicolon.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'gcc/config/arm')
-rw-r--r-- | gcc/config/arm/thumb1.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/thumb1.md b/gcc/config/arm/thumb1.md index b4d7c6e..2ec7024a 100644 --- a/gcc/config/arm/thumb1.md +++ b/gcc/config/arm/thumb1.md @@ -1146,8 +1146,8 @@ switch (get_attr_length (insn)) { case 4: return "b%d0\t%l2"; - case 6: return "b%D0\t.LCB%=;b\t%l2\t%@long jump\n.LCB%=:"; - case 8: return "b%D0\t.LCB%=;bl\t%l2\t%@far jump\n.LCB%=:"; + case 6: return "b%D0\t.LCB%=\;b\t%l2\t%@long jump\n.LCB%=:"; + case 8: return "b%D0\t.LCB%=\;bl\t%l2\t%@far jump\n.LCB%=:"; default: gcc_unreachable (); } } |