===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC -flto}} }
// { dg-extra-ld-options "-fPIC -r -nostdlib" }
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC}} }
// { dg-extra-ld-options "-fPIC -r -nostdlib" }
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC}} }
// { dg-extra-ld-options "-fPIC -r -nostdlib" }
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC -O -flto}} }
typedef double Real;
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC -O -flto}} }
typedef double Real;
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} }
int
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-flto -flto-partition=1to1 -fPIC}} }
// { dg-extra-ld-options "-flto -flto-partition=1to1 -r -nostdlib" }
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC -flto -flto-partition=1to1}} }
// { dg-extra-ld-options "-fPIC -flto -flto-partition=1to1 -r -nostdlib -fno-exceptions" }
void func(); class Foo { };
===================================================================
@@ -1,4 +1,5 @@
// { dg-lto-do link }
+// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -O2}} }
// { dg-extra-ld-options "-O2 -fPIC -flto -flto-partition=1to1 -r -nostdlib" }
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
/* Tests for the absence during linking of:
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
struct Foo {
bool Mumble();
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
#include "20081119-1.h"
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
/* We used to ICE because of dangling pointers. */
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
/* Empty file. See PR41173. */
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto}} } */
typedef struct VEC_constructor_elt_gc { } VEC_constructor_elt_gc;
===================================================================
@@ -1,5 +1,6 @@
/* { dg-lto-do link } */
/* { dg-skip-if "" { ! { i?86-*-linux* x86_64-*-linux* } } { "*" } { "" } } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC}} } */
/* { dg-suppress-ld-options {-fPIC} } */
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-O1 -flto -flto-partition=1to1 -fPIC}} } */
/* { dg-extra-ld-options {-r -nostdlib -O0} } */
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2 -flto}} } */
void * HeapAlloc(void*,unsigned int,unsigned long);
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto} {-fPIC -r -nostdlib -O2 -flto -flto-partition=1to1}} } */
#include "20091015-1_b.h"
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -O2 -flto -flto-partition=1to1}} } */
/* { dg-extra-ld-options {-fno-PIC -r -nostdlib -O2 -flto -flto-partition=1to1} } */
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
typedef struct {
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
typedef struct {
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do run } */
+/* { dg-require-effective-target fpic } */
/* { dg-suppress-ld-options {-fPIC} } */
/* { dg-require-effective-target tls } */
/* { dg-extra-ld-options "-pthread" { target *-*-solaris2.[89] } } */
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
/* Tests for the absence during linking of:
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */
#include "20081224_0.h"
===================================================================
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-O3 -flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
struct Foo { int f1, f2, f3, f4, f5; };