Debian Codegraph @

gcc/testsuite/gcc.target/arm/optional_thumb-2.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 "-mcpu=cortex-m4" } */
4
5 /* Check that -mthumb is not needed when compiling for a Thumb-only target. */
6
7 int foo;