Test gcc.target/arm/combine-movs.c uses the wrong effective-target keyword on dg-final scans; arm_thumb2_ok says that the target will support THUMB2 if -mthumb is specified, and arm_thumb2 says that with the current options it is supported.
Tested on arm-none-eabi with multiple flags, checked in on trunk. Janis
2012-09-26 Janis Johnson <jani...@codesourcery.com> * gcc.target/arm/combine-movs.c: Use effective target arm_thumb2. Index: gcc.target/arm/combine-movs.c =================================================================== --- gcc.target/arm/combine-movs.c (revision 191765) +++ gcc.target/arm/combine-movs.c (working copy) @@ -9,5 +9,5 @@ r[i] = 0; } -/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2_ok } } } */ -/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2_ok} } } } */ +/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2 } } } */ +/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2 } } } } */