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
2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pie-1.c
blob
3f6e3716682ee6a43b3c9f0a441cffc6bc2d6b9a
1
/* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */
2
/* { dg-options "-fpie" } */
3
/* { dg-require-effective-target pie } */
4
5
#if __PIC__ != 1
6
# error __PIC__ is not 1!
7
#endif
8
9
#if __PIE__ != 1
10
# error __PIE__ is not 1!
11
#endif