diff mbox

[testsuite] gcc.target/arm/combine-movs.c: fix effective target

Message ID 50639709.9030504@mentor.com
State New
Headers show

Commit Message

Janis Johnson Sept. 27, 2012, midnight UTC
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  <janisjo@codesourcery.com>

	* gcc.target/arm/combine-movs.c: Use effective target arm_thumb2.
diff mbox

Patch

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 } } } } */