diff options
author | Janis Johnson <janisjo@codesourcery.com> | 2012-07-26 22:23:33 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2012-07-26 22:23:33 +0000 |
commit | 3984ea61cb3e47663b34655b7f62726260a23eb3 (patch) | |
tree | 88551365ea7b78e733671bc9e76ba8920759f360 /gcc/testsuite/gcc.dg | |
parent | e45abe1f20e35a461c2378f4caf8b1455c98385d (diff) | |
download | gcc-3984ea61cb3e47663b34655b7f62726260a23eb3.zip gcc-3984ea61cb3e47663b34655b7f62726260a23eb3.tar.gz gcc-3984ea61cb3e47663b34655b7f62726260a23eb3.tar.bz2 |
* gcc.dg/pr45259.c: Only -fpic depends on fpic support.
From-SVN: r189899
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr45259.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr45259.c b/gcc/testsuite/gcc.dg/pr45259.c index b8dc365..3b8d6bd 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; }; |