OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* g++.dg/other/first-global.C: Add -fpie for darwin.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
first-global.C
diff --git
a/gcc/testsuite/g++.dg/other/first-global.C
b/gcc/testsuite/g++.dg/other/first-global.C
index
b50f326
..
81e7a96
100644
(file)
--- a/
gcc/testsuite/g++.dg/other/first-global.C
+++ b/
gcc/testsuite/g++.dg/other/first-global.C
@@
-1,4
+1,6
@@
/* { dg-do compile } */
+/* { dg-options "-fpie" { target *-*-darwin* } } */
/* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */
+
struct foo { foo (); };
foo foobar;