From patchwork Tue Apr 17 17:25:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [i386] : Fix PR 53020, another victim of IOR vs OR naming difference Date: Tue, 17 Apr 2012 07:25:49 -0000 From: Uros Bizjak X-Patchwork-Id: 153258 Message-Id: To: gcc-patches@gcc.gnu.org Hello! Correct name of atomic "or" named pattern is "atomic_orM", not "atomic_iorM". Attached patch fixes this oversight. 2012-04-17 Uros Bizjak PR target/53020 * config/i386/sync.md (atomic_): Rename to atomic_. Patch was bootstrapped and tested on x86_64-pc-linux-gnu, will be committed to all release branches. Uros. Index: config/i386/sync.md =================================================================== --- config/i386/sync.md (revision 186539) +++ config/i386/sync.md (working copy) @@ -576,7 +576,7 @@ return "lock{%;} sub{}\t{%1, %0|%0, %1}"; }) -(define_insn "atomic_" +(define_insn "atomic_" [(set (match_operand:SWI 0 "memory_operand" "+m") (unspec_volatile:SWI [(any_logic:SWI (match_dup 0)