summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/inline-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/inline-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/inline-2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/inline-2.c b/gcc/testsuite/gcc.dg/inline-2.c
index 80e7848aca2..ef7c71105af 100644
--- a/gcc/testsuite/gcc.dg/inline-2.c
+++ b/gcc/testsuite/gcc.dg/inline-2.c
@@ -1,8 +1,7 @@
/* Ensure that we continue to consider FOO local, even though
it has been deferred. */
-/* { dg-do compile } */
+/* { dg-do compile { target fpic } } */
/* { dg-options "-O3 -finline-limit=0 -fpic" } */
-/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
static int foo(void)
{