comparison gcc/testsuite/gcc.dg/march-generic.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ 1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "" } } */ 2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "" } } */
3 /* { dg-options "-march=generic" } */ 3 /* { dg-options "-march=generic -fcf-protection=none" } */
4 /* { dg-error "'generic' CPU can be used only for '-mtune=' switch" "" { target *-*-* } 0 } */ 4 /* { dg-error "'generic' CPU can be used only for '-mtune=' switch" "" { target *-*-* } 0 } */
5 /* { dg-bogus "march" "" { target *-*-* } 0 } */ 5 /* { dg-bogus "march" "" { target *-*-* } 0 } */
6 int i; 6 int i;