This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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")])


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]