first-global.C: Add -fpie for all pic targets.
* g++.dg/other/first-global.C: Add -fpie for all pic targets. * g++.dg/parse/attr-externally-visible-1.C: Likewise. From-SVN: r131968
This commit is contained in:
parent
493f36a777
commit
cbe9cc080e
@ -1,3 +1,8 @@
|
||||
2008-01-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* g++.dg/other/first-global.C: Add -fpie for all pic targets.
|
||||
* g++.dg/parse/attr-externally-visible-1.C: Likewise.
|
||||
|
||||
2008-01-30 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR target/34982
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-fpie" { target *-*-darwin* } } */
|
||||
/* { dg-options "-fpie" { target { ! nonpic } } } */
|
||||
/* { dg-final { scan-assembler "_GLOBAL__I(_|_65535_0_)foobar" } } */
|
||||
|
||||
struct foo { foo (); };
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O3 -fwhole-program" }
|
||||
/* { dg-options "-O3 -fwhole-program -fpie" { target *-*-darwin* } } */
|
||||
// { dg-options "-O3 -fwhole-program -fpie" { target { ! nonpic } } }
|
||||
// { dg-final { scan-assembler "foo1" } }
|
||||
// { dg-final { scan-assembler "foo2" } }
|
||||
// { dg-final { scan-assembler "foo3" } }
|
||||
|
Loading…
Reference in New Issue
Block a user