gcc/testsuite/gcc.target/arm/optional_thumb-1.c
raw| 1 | /* { dg-do compile { target { ! default_mode } } } */ |
| 2 | /* { dg-skip-if "-marm/-mthumb/-march/-mcpu given" { *-*-* } { "-marm" "-mthumb" "-march=*" "-mcpu=*" } } */ |
| 3 | /* { dg-options "-march=armv6-m -mfloat-abi=soft" } */ |
| 4 | |
| 5 | /* Check that -mthumb is not needed when compiling for a Thumb-only target. */ |
| 6 | |
| 7 | int foo; |