blob: 6841b6ea1e27288babbcc5b6d1112aa1a2c4d409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Test that we do not ice in thumb1 mode */
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v4t_thumb_ok } */
/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=softfp" } } */
/* { dg-options "-march=armv4t -mfloat-abi=softfp" } */
void __attribute__((target("arm"))) f(char *out)
{
asm("" : "=@ccne"(out[0]));
}
void __attribute__((target("thumb"))) g(char *out)
{
asm("" : "=@ccne"(out[0])); /* { dg-message ".asm. flags not supported" } */
}
|