repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pic-2.c
blob
bccec13934a0f429e447b6df5bcb4b8e3a636e4c
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