[AArch64] Add spellchecking hints for -march,-mcpu,-mtune and their attributes
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / spellcheck_3.c
blobab1940f515e2338cc6eea6f8dc217e97ea781085
1 /* { dg-do compile } */
3 __attribute__((target ("tune=cortex-a57-typo"))) void
4 foo ()
7 /* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a57?" "" { target *-*-* } 5 } */
8 /* { dg-error "unknown value 'cortex-a57-typo' for 'tune' target attribute" "" { target *-*-* } 5 } */
9 /* { dg-error "target attribute 'tune=cortex-a57-typo' is invalid" "" { target *-*-* } 5 } */