summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2022-07-27 11:09:43 +0100
committerMaciej W. Rozycki <macro@embecosm.com>2022-07-27 11:12:22 +0100
commit4c1c38ba9535435b04ee22cda33042b7d48ca183 (patch)
treefc106de9b285a9de2daa2278d245aaca1d70bfb2
parent5b8458bc35b5df34c1b4b8735975f2686444f6c8 (diff)
RISC-V: Remove duplicate backslashes from `stack_protect_set_<mode>'
Remove redundant duplicate backslash characters from \t sequences in the output pattern of the `stack_protect_set_<mode>' RTL insn. gcc/ * config/riscv/riscv.md (stack_protect_set_<mode>): Remove duplicate backslashes. (cherry picked from commit 3cf07cc5e51c833f39f5bad5ca6fbe23c853a214)
-rw-r--r--gcc/config/riscv/riscv.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md
index b3c5bce842a..c6399b1389e 100644
--- a/gcc/config/riscv/riscv.md
+++ b/gcc/config/riscv/riscv.md
@@ -2821,7 +2821,7 @@
UNSPEC_SSP_SET))
(set (match_scratch:GPR 2 "=&r") (const_int 0))]
""
- "<load>\\t%2, %1\;<store>\\t%2, %0\;li\t%2, 0"
+ "<load>\t%2, %1\;<store>\t%2, %0\;li\t%2, 0"
[(set_attr "length" "12")])
(define_expand "stack_protect_test"