From 72b497da48a5ba66d20904b971c71cf6d623067c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 25 Sep 2014 15:01:46 +0000 Subject: [PATCH] re PR target/62218 (gcc produces invalid SH instruction (stc r2,sr) when building libgcc) PR target/62218 * config/sh/sync.md (atomic_fetch_nand_soft_imask): Fix typo in instruction sequence. From-SVN: r215602 --- gcc/ChangeLog | 6 ++++++ gcc/config/sh/sync.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b5fb31eca9..5ddf61bae30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-09-25 Nick Clifton + + PR target/62218 + * config/sh/sync.md (atomic_fetch_nand_soft_imask): Fix typo + in instruction sequence. + 2014-09-25 Bill Schmidt PR target/63335 diff --git a/gcc/config/sh/sync.md b/gcc/config/sh/sync.md index a0a22a1f5b7..e6a16fc6b15 100644 --- a/gcc/config/sh/sync.md +++ b/gcc/config/sh/sync.md @@ -903,7 +903,7 @@ " and %0,%3" "\n" " not %3,%3" "\n" " mov. %3,@%1" "\n" - " stc %4,sr"; + " ldc %4,sr"; } [(set_attr "length" "20")]) -- 2.30.2