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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pie-2.c
blob
1838745a11a111bbea464f3ce8c91af051c723ca
1
/* { dg-do compile } */
2
/* { dg-options "-fPIE" } */
3
/* { dg-require-effective-target pie } */
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
#if __PIE__ != 2
11
# error __PIE__ is not 2!
12
#endif