Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pic-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-require-effective-target fpic } */ | |
3 /* { dg-options "-fPIC" } */ | |
4 /* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */ | |
5 | |
6 #if __PIC__ != 2 | |
7 # error __PIC__ is not 2! | |
8 #endif | |
9 | |
10 #ifdef __PIE__ | |
11 # error __PIE__ is defined! | |
12 #endif |