Hi This patch back ports a patch from gcc-4_6-branch to google/gcc-4_6 branch.
It skips a thumb1 only test on thumb2 devices. thanks Carrot 2011-07-18 Guozhi Wei <car...@google.com> Backport r175894 from gcc-4_6-branch 2011-07-05 Janis Johnson <jani...@codesourcery.com> * gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1. Index: gcc.target/arm/thumb-bitfld1.c =================================================================== --- gcc.target/arm/thumb-bitfld1.c (revision 176385) +++ gcc.target/arm/thumb-bitfld1.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -mthumb -march=armv5t" } */ +/* { dg-require-effective-target arm_thumb1_ok } */ +/* { dg-options "-O1 -mthumb" } */ struct foo { -- This patch is available for review at http://codereview.appspot.com/4752052