summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/target_attr_15.c
blob: 2d8c7b955ce3f7adb75e73f7c93e6c2f8772f133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do assemble } */
/* { dg-options "-march=armv8-a+crypto -save-temps" } */

/* Check that "+nothing" clears the ISA flags.  */

__attribute__ ((target ("+nothing")))
int
foo (int a)
{
  return a + 1;
}

/* { dg-final { scan-assembler-times "\\.arch armv8-a\\+nofp\\+nosimd\n" 1 } } */