Hi Terry, On 23/04/15 02:56, Terry Guo wrote:
/* { dg-do compile } */ -/* { dg-options "-march=armv6-m -mthumb -O3 -w -mfloat-abi=soft" } */ +/* { dg-options "-mthumb -O2 -mfloat-abi=soft" } */
If you have really need the -mthumb here, don't you also need to check for a thumb effective target? I see in the testsuite we use things like: /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */ or /* { dg-require-effective-target arm_thumb2_ok } */ Kyrill