2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / march-generic.c
blobf9c00e4a1c1b76eb31aa9441afb4fd22c48241a9
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "" } } */
3 /* { dg-options "-march=generic -fcf-protection=none" } */
4 /* { dg-error "'generic' CPU can be used only for '-mtune=' switch" "" { target *-*-* } 0 } */
5 /* { dg-bogus "march" "" { target *-*-* } 0 } */
6 int i;