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.radhakrish...@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")])