OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
20081224_0.c
1
/* { dg-lto-do link } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */
4
#include "20081224_0.h"
5
6
extern struct foo x;
7
8
void f(void) {
9
x.x = 0;
10
}