From: Mike Stump Date: Wed, 9 May 2007 19:37:38 +0000 (+0000) Subject: * g++.dg/other/first-global.C: Add -fpie for darwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=549c8038c684c6d039ec0df921ae0fc2f3249303;p=gcc.git * g++.dg/other/first-global.C: Add -fpie for darwin. From-SVN: r124580 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 57b76d99c4e..069335b1560 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-05-09 Mike Stump + + * g++.dg/other/first-global.C: Add -fpie for darwin. + 2007-05-09 Andreas Krebbel * gcc.dg/20070507-1.c: New testcase. diff --git a/gcc/testsuite/g++.dg/other/first-global.C b/gcc/testsuite/g++.dg/other/first-global.C index b50f3266b5d..81e7a96e2e0 100644 --- 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;