aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorJanis Johnson <janisjo@codesourcery.com>2012-07-26 22:23:33 +0000
committerJanis Johnson <janis@gcc.gnu.org>2012-07-26 22:23:33 +0000
commit3984ea61cb3e47663b34655b7f62726260a23eb3 (patch)
tree88551365ea7b78e733671bc9e76ba8920759f360 /gcc/testsuite/gcc.dg
parente45abe1f20e35a461c2378f4caf8b1455c98385d (diff)
downloadgcc-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.c3
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; };