This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch ARM] Fix name of atomic expander for ior
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at linaro dot org>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Patch Tracking <patches at linaro dot org>
- Date: Thu, 19 Apr 2012 12:23:55 +0100
- Subject: [Patch ARM] Fix name of atomic expander for ior
Hi,
Following Uros's mail here
http://gcc.gnu.org/ml/gcc/2012-04/msg00679.html, I've noticed that
ARM is also an affected target. Applied to trunk after testing with a
new enough gdb, will be applied to 4.7 once testing completes there.
regards,
Ramana
2012-04-19 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* config/arm/sync.md (sync_optab): Change ior attribute to "or".
diff --git a/gcc/config/arm/sync.md b/gcc/config/arm/sync.md
index 96de0f3..03838f5 100644
--- a/gcc/config/arm/sync.md
+++ b/gcc/config/arm/sync.md
@@ -29,7 +29,7 @@
(define_code_iterator syncop [plus minus ior xor and])
(define_code_attr sync_optab
- [(ior "ior") (xor "xor") (and "and") (plus "add") (minus "sub")])
+ [(ior "or") (xor "xor") (and "and") (plus "add") (minus "sub")])
(define_mode_attr sync_sfx
[(QI "b") (HI "h") (SI "") (DI "d")])