diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-26 22:23:33 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-26 22:23:33 +0000 |
commit | 4a1f6fe28080dc278b80860019dd04605c4830ee (patch) | |
tree | 88551365ea7b78e733671bc9e76ba8920759f360 | |
parent | 758a38ab2638ab5bb760a3f0f17970e505c754ca (diff) | |
download | ppe42-gcc-4a1f6fe28080dc278b80860019dd04605c4830ee.tar.gz ppe42-gcc-4a1f6fe28080dc278b80860019dd04605c4830ee.zip |
* gcc.dg/pr45259.c: Only -fpic depends on fpic support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189899 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr45259.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 320d4efd70d..6236cc03ee5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-07-26 Janis Johnson <janisjo@codesourcery.com> + + * gcc.dg/pr45259.c: Only -fpic depends on fpic support. + 2012-07-26 Richard Henderson <rth@redhat.com> * gcc.dg/attr-hotcold-1.c: New. diff --git a/gcc/testsuite/gcc.dg/pr45259.c b/gcc/testsuite/gcc.dg/pr45259.c index b8dc36503f8..3b8d6bd176d 100644 --- a/gcc/testsuite/gcc.dg/pr45259.c +++ b/gcc/testsuite/gcc.dg/pr45259.c @@ -1,6 +1,7 @@ /* PR debug/45259 */ /* { dg-do compile } */ -/* { dg-options "-g -O2 -fpic -w" { target fpic } } */ +/* { dg-options "-g -O2 -w -fpic" { target fpic } } */ +/* { dg-options "-g -O2 -w" { target { ! fpic } } } */ struct S { void (*bar) (long); }; struct T { struct S *t; }; |