76e3ec9ca9
2016-09-29 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * c-c++-common/pr27336.c: Make dependency on -fdelete-null-pointer-checks explicit. * g++.dg/cpp0x/constexpr-array-ptr10.C: Likewise. * g++.dg/cpp0x/constexpr-nullptr-1.C: Likewise. * g++.dg/lto/pr69589_0.C: Add nios2-*-elf to unsupported targets. * gcc.dg/pic-1.c: Require fpic target support. * gcc.dg/pic-2.c: Likewise. From-SVN: r240644
12 lines
241 B
C
12 lines
241 B
C
/* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */
|
|
/* { dg-require-effective-target fpic } */
|
|
/* { dg-options "-fpic" } */
|
|
|
|
#if __PIC__ != 1
|
|
# error __PIC__ is not 1!
|
|
#endif
|
|
|
|
#ifdef __PIE__
|
|
# error __PIE__ is defined!
|
|
#endif
|