diff mbox

[ARM] Fix name of atomic expander for ior

Message ID CACUk7=WaEYFKnxswJZH3eQF1HZHAf4qs3de2-TuvuCjcynuaEA@mail.gmail.com
State Accepted
Headers show

Commit Message

Ramana Radhakrishnan April 19, 2012, 11:23 a.m. UTC
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 mbox

Patch

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