Debian Codegraph @

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

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