[backport from gcc-4.7/trunk r183446 ] Date: Mon, 23 Jan 2012 18:00:10 +0000 Subject: [Patch ARM ] Fix testism for PR45416 on ARM. From: Ramana Radhakrishnan List-Archive: Hi, This fixes a failure that I see while running the tests for v7a- because we don't handle ubfx. Also, this test is valid for arm32 configurations. Committed to trunk . cheers Ramana gcc/testsuite/ 2012-01-23 Ramana Radhakrishnan PR middle-end/45416 * gcc.dg/pr45416.c: Skip for Thumb1. Handle ubfx. --- gcc-4.6.2/gcc/testsuite/gcc.dg/pr45416.c.~1~ 2012-02-05 18:20:26.000000000 +0100 +++ gcc-4.6.2/gcc/testsuite/gcc.dg/pr45416.c 2012-02-05 18:20:37.000000000 +0100 @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "Skip for Thumb1." { { arm*-*-* } && { arm_thumb1_ok } } { "*" } { "" } } */ /* { dg-options "-O2" } */ int foo(long long a) @@ -10,5 +11,5 @@ int foo(long long a) /* { dg-final { scan-assembler "andl" { target i?86-*-linux* x86_64-*-linux* } } } " */ /* { dg-final { scan-assembler-not "setne" { target i?86-*-linux* x86_64-*-linux* } } }" */ -/* { dg-final { scan-assembler "and" { target arm*-*-* } } }" */ +/* { dg-final { scan-assembler "and|ubfx" { target arm*-*-* } } } */ /* { dg-final { scan-assembler-not "moveq" { target arm*-*-* } } }" */