Debian Codegraph @

gcc/testsuite/gcc.target/i386/fhardened-2.c

raw
1 /* PR target/114606 */
2 /* { dg-do compile { target *-*-linux* *-*-gnu* } } */
3 /* { dg-options "-fhardened -O2" } */
4
5 #if __CET__ != 3
6 # error "-fcf-protection not enabled"
7 #endif
8
9 /* { dg-bogus ".-fcf-protection=full. is not enabled by .-fhardened. because it was specified" "" { target *-*-* } 0 } */