Debian Codegraph @

gcc/testsuite/c-c++-common/fhardened-8.c

raw
1 /* { dg-do compile { target { { *-*-linux* *-*-gnu* } && pie } } } */
2 /* { dg-options "-fhardened -O -fPIC" } */
3
4 /* -fPIC takes precedence over -fhardened */
5 #ifdef __PIE__
6 # error "PIE enabled when it should not be"
7 #endif