This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Incremental LTO linking part 8: testsuite compensation


Hi,
most testcases are written with assumption that -r will trigger code generation.
To make them still meaningful they need nolto-rel.  Bootstrapped/regtested x86_64-linux
with the rest of incremental link changes.

Honza

2018-05-08  Jan Hubicka  <hubicka@ucw.cz>

	* testsuite/g++.dg/lto/20081109-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081118_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081119-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081120-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081120-2_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081123_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081204-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20081219_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20090302_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20090313_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20091002-2_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20091002-3_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20091026-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20100724-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20101010-4_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20101015-2_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/20110311-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/pr45621_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/pr48042_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/pr48354-1_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/pr54625-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/pr54625-2_0.c: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/lto/pr68811_0.C: Add -flinker-output=nolto-rel.
	* testsuite/g++.dg/torture/pr43760.C: New test. Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081120-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081120-2_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081126_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081204-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081204-2_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081212-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20081224_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20090116_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20090126-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20090126-2_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20090206-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20090219_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20091013-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20091014-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20091015-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20091016-1_0.c: Add -flinker-output=nolto-rel.
	* testsuite/gcc.dg/lto/20091020-1_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20091020-2_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20091027-1_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20100426_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20100430-1_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20100603-1_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20100603-2_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20100603-3_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/20111213-1_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr45736_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr52634_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr54702_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr59323-2_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr59323_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr60820_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr81406_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gcc.dg/lto/pr83388_0.c: Add -flinker-output-nolto-rel.
	* testsuite/gfortran.dg/lto/20091016-1_0.f90: Add -flinker-output-nolto-rel.
	* testsuite/gfortran.dg/lto/20091028-1_0.f90: Add -flinker-output-nolto-rel.
	* testsuite/gfortran.dg/lto/20091028-2_0.f90: Add -flinker-output-nolto-rel.
	* testsuite/gfortran.dg/lto/pr46911_0.f: Add -flinker-output-nolto-rel.
	* testsuite/gfortran.dg/lto/pr47839_0.f90: Add -flinker-output-nolto-rel.
Index: testsuite/g++.dg/lto/20081109-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20081109-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081109-1_0.C	(working copy)
@@ -1,6 +1,6 @@
 // { 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" }
+// { dg-extra-ld-options "-fPIC -flto -flto-partition=1to1 -r -nostdlib -fno-exceptions -flinker-output=nolto-rel" }
 void func(); class Foo { };
 void bar() { try { func(); } catch (Foo) { } };
Index: testsuite/g++.dg/lto/20081118_0.C
===================================================================
--- testsuite/g++.dg/lto/20081118_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081118_0.C	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 /* We used to ICE because of dangling pointers.  */
 
Index: testsuite/g++.dg/lto/20081119-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20081119-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081119-1_0.C	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 #include "20081119-1.h"
 
Index: testsuite/g++.dg/lto/20081120-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20081120-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081120-1_0.C	(working copy)
@@ -1,5 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-options {{-flto -r -nostdlib}} }
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 extern "C"
 {
  extern __inline __attribute__((__gnu_inline__)) int pthread_equal(int, int)
Index: testsuite/g++.dg/lto/20081120-2_0.C
===================================================================
--- testsuite/g++.dg/lto/20081120-2_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081120-2_0.C	(working copy)
@@ -1,5 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-options {{-flto -r -nostdlib}} }
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 template < typename > struct Foo
 {
  inline void rdstate() {
Index: testsuite/g++.dg/lto/20081123_0.C
===================================================================
--- testsuite/g++.dg/lto/20081123_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081123_0.C	(working copy)
@@ -1,6 +1,7 @@
 // { dg-lto-do link }
 // { dg-require-effective-target fpic }
 // { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} }
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 int
 f(void)
Index: testsuite/g++.dg/lto/20081204-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20081204-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081204-1_0.C	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 /* Tests for the absence during linking of:
    lto1: error: type of '_ZTVN10__cxxabiv120__si_class_type_infoE' does
Index: testsuite/g++.dg/lto/20081219_0.C
===================================================================
--- testsuite/g++.dg/lto/20081219_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20081219_0.C	(working copy)
@@ -1,7 +1,7 @@
 // { 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" }
+// { dg-extra-ld-options "-O2 -fPIC -flto -flto-partition=1to1 -r -nostdlib -flinker-output=nolto-rel" }
 
 typedef long int ptrdiff_t;
 extern "C"
Index: testsuite/g++.dg/lto/20090302_0.C
===================================================================
--- testsuite/g++.dg/lto/20090302_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20090302_0.C	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 struct Foo {
   bool Mumble();
   static void Bar() { if (foo_->Mumble()) foo_ = 0; }
Index: testsuite/g++.dg/lto/20090313_0.C
===================================================================
--- testsuite/g++.dg/lto/20090313_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20090313_0.C	(working copy)
@@ -1,6 +1,6 @@
 // { 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" }
+// { dg-extra-ld-options "-flto -flto-partition=1to1 -r -nostdlib -flinker-output=nolto-rel" }
 
 int X;
Index: testsuite/g++.dg/lto/20091002-2_0.C
===================================================================
--- testsuite/g++.dg/lto/20091002-2_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20091002-2_0.C	(working copy)
@@ -1,7 +1,7 @@
 // { dg-lto-do link }
 // { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC}} }
-// { dg-extra-ld-options "-fPIC -r -nostdlib" }
+// { dg-extra-ld-options "-fPIC -r -nostdlib -flinker-output=nolto-rel" }
 
 class DataArray {
     int max() const    { return 0; }
Index: testsuite/g++.dg/lto/20091002-3_0.C
===================================================================
--- testsuite/g++.dg/lto/20091002-3_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20091002-3_0.C	(working copy)
@@ -1,7 +1,7 @@
 // { dg-lto-do link }
 // { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC}} }
-// { dg-extra-ld-options "-fPIC -r -nostdlib" }
+// { dg-extra-ld-options "-fPIC -r -nostdlib -flinker-output=nolto-rel" }
 
 template < class T > 
 class DataArray {
Index: testsuite/g++.dg/lto/20091026-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20091026-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20091026-1_0.C	(working copy)
@@ -1,5 +1,5 @@
 // { dg-lto-do link }
-// { dg-extra-ld-options "-r -nostdlib" }
+// { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
 
 #include "20091026-1_a.h"
 cObject *cHead::find(const char *objname) const
Index: testsuite/g++.dg/lto/20100724-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20100724-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20100724-1_0.C	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-ftoplevel-reorder -flto -flto-partition=none} {-ftoplevel-reorder -flto -flto-partition=1to1}} } */
-/* { dg-extra-ld-options {-r -nostdlib} } */
+/* { dg-extra-ld-options {-r -nostdlib -flinker-output=nolto-rel} } */
 
 struct Foo { virtual ~Foo(); };
 struct Bar:public Foo { Bar() { } };
Index: testsuite/g++.dg/lto/20101010-4_0.C
===================================================================
--- testsuite/g++.dg/lto/20101010-4_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20101010-4_0.C	(working copy)
@@ -1,5 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-options { { -std=c++0x -flto -r -nostdlib } { -std=c++0x -flto -g -r -nostdlib } } }
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 typedef decltype(nullptr) nullptr_t;
 class shared_ptr {
Index: testsuite/g++.dg/lto/20101015-2_0.C
===================================================================
--- testsuite/g++.dg/lto/20101015-2_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20101015-2_0.C	(working copy)
@@ -1,6 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-options { { -flto } { -g -flto } } }
-// { dg-extra-ld-options "-r -nostdlib" }
+// { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
 
 struct Base { ~Base (); };
 void fun(void) { struct Deriv : Base { } x; }
Index: testsuite/g++.dg/lto/20110311-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20110311-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/20110311-1_0.C	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-extra-ld-options "-r -nostdlib" } */
+/* { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" } */
 
 struct NullType {};
 
Index: testsuite/g++.dg/lto/pr45621_0.C
===================================================================
--- testsuite/g++.dg/lto/pr45621_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/pr45621_0.C	(working copy)
@@ -1,5 +1,5 @@
 // { dg-lto-do assemble }
-// { dg-extra-ld-options "-O2 -fipa-cp-clone -flto -nostdlib -r" }
+// { dg-extra-ld-options "-O2 -fipa-cp-clone -flto -nostdlib -r -flinker-output=nolto-rel" }
 #include "pr45621.h"
 
 void
Index: testsuite/g++.dg/lto/pr48042_0.C
===================================================================
--- testsuite/g++.dg/lto/pr48042_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/pr48042_0.C	(working copy)
@@ -1,5 +1,5 @@
 // { dg-lto-do link }
-// { dg-extra-ld-options "-r -nostdlib -g" }
+// { dg-extra-ld-options "-r -nostdlib -g -flinker-output=nolto-rel" }
 
 class A {
     virtual int x() = 0;
Index: testsuite/g++.dg/lto/pr48354-1_0.C
===================================================================
--- testsuite/g++.dg/lto/pr48354-1_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/pr48354-1_0.C	(working copy)
@@ -1,6 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-options { { -g -flto } } }
-// { dg-extra-ld-options "-r -nostdlib" }
+// { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
 
 template<typename T> struct Identity { typedef T type; };
 struct S {
Index: testsuite/g++.dg/lto/pr54625-1_0.c
===================================================================
--- testsuite/g++.dg/lto/pr54625-1_0.c	(revision 260042)
+++ testsuite/g++.dg/lto/pr54625-1_0.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-extra-ld-options { -r -nostdlib } } */
+/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
 
 float a;
 double sin ();
Index: testsuite/g++.dg/lto/pr54625-2_0.c
===================================================================
--- testsuite/g++.dg/lto/pr54625-2_0.c	(revision 260042)
+++ testsuite/g++.dg/lto/pr54625-2_0.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-extra-ld-options { -r -nostdlib } } */
+/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
 
 float a;
 double sin ();
Index: testsuite/g++.dg/lto/pr68811_0.C
===================================================================
--- testsuite/g++.dg/lto/pr68811_0.C	(revision 260042)
+++ testsuite/g++.dg/lto/pr68811_0.C	(working copy)
@@ -1,6 +1,6 @@
 // { dg-lto-do link }
 /* { dg-lto-options { { -O2 -w } { -w } } } */
-// { dg-extra-ld-options "-r -nostdlib" }
+// { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
 extern "C" char *strcpy(char *, const char *);
 char InitXPCOMGlue_lastSlash;
 void InitXPCOMGlue() { strcpy(&InitXPCOMGlue_lastSlash, ".so"); }
Index: testsuite/gcc.dg/lto/20081120-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081120-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081120-1_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-flto -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 extern int stat(void) __asm__("" "stat64");
 extern inline int stat(void) { }
 static void foo(void) { stat(); }
Index: testsuite/gcc.dg/lto/20081120-2_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081120-2_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081120-2_0.c	(working copy)
@@ -1,3 +1,4 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 void bar(void) {}
Index: testsuite/gcc.dg/lto/20081126_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081126_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081126_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */
 /* { dg-lto-options {{-flto -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 int f(void) {
   register int ri asm("edi");
Index: testsuite/gcc.dg/lto/20081204-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081204-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081204-1_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 /* Tests for the absence during linking of:
    lto1: error: type of 'i' does not match original declaration  */
Index: testsuite/gcc.dg/lto/20081204-2_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081204-2_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081204-2_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */
 /* { dg-lto-options {{-w -flto -fPIC -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 register int ri asm("edi");
Index: testsuite/gcc.dg/lto/20081212-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081212-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081212-1_0.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 int exported_var = 42;
 /* { dg-final { scan-symbol "exported_var" } } */
Index: testsuite/gcc.dg/lto/20081224_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081224_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20081224_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 #include "20081224_0.h"
 
 extern struct foo x;
Index: testsuite/gcc.dg/lto/20090116_0.c
===================================================================
--- testsuite/gcc.dg/lto/20090116_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20090116_0.c	(working copy)
@@ -1,7 +1,7 @@
 /* { 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} } */
+/* { dg-extra-ld-options {-r -nostdlib -O0 -flinker-output=nolto-rel} } */
 
 int foo(void) {
  int ret, i;
Index: testsuite/gcc.dg/lto/20090126-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20090126-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20090126-1_0.c	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-O0 -flto -flto-partition=1to1}} } */
-/* { dg-extra-ld-options {-r -nostdlib -O2 -flto -flto-partition=1to1} } */
+/* { dg-extra-ld-options {-r -nostdlib -O2 -flto -flto-partition=1to1 -flinker-output=nolto-rel} } */
 
 int main(int argc, char **argv) {
   return 0;
Index: testsuite/gcc.dg/lto/20090126-2_0.c
===================================================================
--- testsuite/gcc.dg/lto/20090126-2_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20090126-2_0.c	(working copy)
@@ -1,7 +1,7 @@
 /* { 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} } */
+/* { dg-extra-ld-options {-fno-PIC -r -nostdlib -O2 -flto -flto-partition=1to1 -flinker-output=nolto-rel} } */
 
 int main(int argc, char **argv) {
   return 0;
Index: testsuite/gcc.dg/lto/20090206-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20090206-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20090206-1_0.c	(working copy)
@@ -3,6 +3,7 @@
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto -flto-partition=1to1 -msse2}} } */
 /* { dg-require-effective-target sse2 } */
 /* { dg-suppress-ld-options {-fPIC -msse2} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 typedef short v8hi __attribute__((__vector_size__(16)));
 void func (void) {
Index: testsuite/gcc.dg/lto/20090219_0.c
===================================================================
--- testsuite/gcc.dg/lto/20090219_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20090219_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-O3 -flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 struct Foo { int f1, f2, f3, f4, f5; };
 
Index: testsuite/gcc.dg/lto/20091013-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091013-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091013-1_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2 -flto}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 void * HeapAlloc(void*,unsigned int,unsigned long);
 
Index: testsuite/gcc.dg/lto/20091014-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091014-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091014-1_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 /* Empty file.  See PR41173.  */
Index: testsuite/gcc.dg/lto/20091015-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091015-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091015-1_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { 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}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 #include "20091015-1_b.h"
 void diagnostic_initialize (FILE **stream) { *stream = stderr; }
Index: testsuite/gcc.dg/lto/20091016-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091016-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091016-1_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 typedef struct VEC_constructor_elt_gc { } VEC_constructor_elt_gc;
 #include "20091016-1_a.h"
Index: testsuite/gcc.dg/lto/20091020-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091020-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091020-1_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 typedef struct {
     int NumPackStreams;
Index: testsuite/gcc.dg/lto/20091020-2_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091020-2_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091020-2_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 typedef struct {
     int NumPackStreams;
Index: testsuite/gcc.dg/lto/20091027-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20091027-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20091027-1_0.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-extra-ld-options "-r -nostdlib" } */
+/* { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" } */
 
 typedef struct _xmlDict xmlDict;
 struct _xmlDict {
Index: testsuite/gcc.dg/lto/20100426_0.c
===================================================================
--- testsuite/gcc.dg/lto/20100426_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20100426_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-r -nostdlib -flto -g}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 long Perl_my_htonl (long l)
 {
Index: testsuite/gcc.dg/lto/20100430-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20100430-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20100430-1_0.c	(working copy)
@@ -1,6 +1,8 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-O2 -fprofile-arcs -flto -r -nostdlib}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
+
 void
 expand_stmt_with_iterators_1 (void)
 {
Index: testsuite/gcc.dg/lto/20100603-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20100603-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20100603-1_0.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
 /* { dg-extra-ld-options {-r -nostdlib} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 /* This file intentionally left empty.  */
Index: testsuite/gcc.dg/lto/20100603-2_0.c
===================================================================
--- testsuite/gcc.dg/lto/20100603-2_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20100603-2_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-extra-ld-options {-r -nostdlib} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 int foo;
 int *i = &foo;
Index: testsuite/gcc.dg/lto/20100603-3_0.c
===================================================================
--- testsuite/gcc.dg/lto/20100603-3_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20100603-3_0.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
 /* { dg-extra-ld-options {-r -nostdlib} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 int i = 42;
Index: testsuite/gcc.dg/lto/20111213-1_0.c
===================================================================
--- testsuite/gcc.dg/lto/20111213-1_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/20111213-1_0.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -flto -g } } } */
 /* { dg-extra-ld-options {-r -nostdlib} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 void gfc_be_parse_file (void)
 {
Index: testsuite/gcc.dg/lto/pr45736_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr45736_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr45736_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-flto -r -nostdlib -O}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 
 extern void baz (void);
 
Index: testsuite/gcc.dg/lto/pr52634_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr52634_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr52634_0.c	(working copy)
@@ -2,6 +2,7 @@
 /* { dg-require-alias "" } */
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-flto -r -nostdlib -flto-partition=1to1}} */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 extern int cfliteValueCallBacks;
 void baz (int *);
 int main () { baz(&cfliteValueCallBacks); }
Index: testsuite/gcc.dg/lto/pr54702_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr54702_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr54702_0.c	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -O2 -flto -w } } } */
-/* { dg-extra-ld-options { -r -nostdlib } } */
+/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
 
 #include <stdlib.h>
 void* f ()
Index: testsuite/gcc.dg/lto/pr59323-2_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr59323-2_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr59323-2_0.c	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -O2 -g -flto } } } */
-/* { dg-extra-ld-options { -r -nostdlib } } */
+/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
 
 extern void bar(void);
 
Index: testsuite/gcc.dg/lto/pr59323_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr59323_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr59323_0.c	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -O2 -g -flto } } } */
-/* { dg-extra-ld-options { -r -nostdlib } } */
+/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
 
 extern void bar(void);
 
Index: testsuite/gcc.dg/lto/pr60820_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr60820_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr60820_0.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-flto -r -nostdlib -O2}} } */
+/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
 /* { dg-skip-if "no alias" { *-*-darwin* } } */
 #include <stdio.h>
 struct in6_addr {int bah;};
Index: testsuite/gcc.dg/lto/pr81406_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr81406_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr81406_0.c	(working copy)
@@ -1,7 +1,7 @@
 /* PR lto/81406 */
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -O2 -g -flto } } } */
-/* { dg-extra-ld-options { -g -r -nostdlib } } */
+/* { dg-extra-ld-options { -g -r -nostdlib -flinker-output=nolto-rel } } */
 
 int a;
 int *foo (void);
Index: testsuite/gcc.dg/lto/pr83388_0.c
===================================================================
--- testsuite/gcc.dg/lto/pr83388_0.c	(revision 260042)
+++ testsuite/gcc.dg/lto/pr83388_0.c	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -O2 -flto -fsanitize=null } { -O0 -flto -fsanitize=null } } } */
-/* { dg-extra-ld-options { -fno-sanitize=null -r -nostdlib } } */
+/* { dg-extra-ld-options { -fno-sanitize=null -r -nostdlib -flinker-output=nolto-rel } } */
 
 enum { a } e(void);
 struct C {
Index: testsuite/gfortran.dg/lto/20091016-1_0.f90
===================================================================
--- testsuite/gfortran.dg/lto/20091016-1_0.f90	(revision 260042)
+++ testsuite/gfortran.dg/lto/20091016-1_0.f90	(working copy)
@@ -1,5 +1,6 @@
 ! { dg-lto-do link }
 ! { dg-lto-options {{-flto -g -fPIC -r -nostdlib} {-O -flto -g -fPIC -r -nostdlib}} }
+! { dg-extra-ld-options "-flinker-output=nolto-rel" }
 
       FUNCTION makenumberstring(x)
       IMPLICIT NONE
Index: testsuite/gfortran.dg/lto/20091028-1_0.f90
===================================================================
--- testsuite/gfortran.dg/lto/20091028-1_0.f90	(revision 260042)
+++ testsuite/gfortran.dg/lto/20091028-1_0.f90	(working copy)
@@ -1,5 +1,5 @@
 ! { dg-lto-do link }
-! { dg-extra-ld-options "-r -nostdlib -finline-functions" }
+! { dg-extra-ld-options "-r -nostdlib -finline-functions -flinker-output=nolto-rel" }
 
 SUBROUTINE int_gen_ti_header_char( hdrbuf, hdrbufsize, itypesize, &
                               DataHandle, Element, VarName, Data, code )
Index: testsuite/gfortran.dg/lto/20091028-2_0.f90
===================================================================
--- testsuite/gfortran.dg/lto/20091028-2_0.f90	(revision 260042)
+++ testsuite/gfortran.dg/lto/20091028-2_0.f90	(working copy)
@@ -1,5 +1,5 @@
 ! { dg-lto-do link }
-! { dg-extra-ld-options "-r -nostdlib -finline-functions" }
+! { dg-extra-ld-options "-r -nostdlib -finline-functions -flinker-output=nolto-rel" }
 
 SUBROUTINE int_gen_ti_header_char( hdrbuf, hdrbufsize, itypesize, &
                               DataHandle, Element, VarName, Data, code )
Index: testsuite/gfortran.dg/lto/pr46911_0.f
===================================================================
--- testsuite/gfortran.dg/lto/pr46911_0.f	(revision 260042)
+++ testsuite/gfortran.dg/lto/pr46911_0.f	(working copy)
@@ -1,6 +1,6 @@
 ! { dg-lto-do link }
 ! { dg-lto-options {{ -O2 -flto -g }} }
-! { dg-extra-ld-options "-r -nostdlib" }
+! { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
       common/main1/ eps(2)
       call dalie6s(iqmod6,1,wx,cor6d)
       end
Index: testsuite/gfortran.dg/lto/pr47839_0.f90
===================================================================
--- testsuite/gfortran.dg/lto/pr47839_0.f90	(revision 260042)
+++ testsuite/gfortran.dg/lto/pr47839_0.f90	(working copy)
@@ -1,6 +1,6 @@
 ! { dg-lto-do link }
 ! { dg-lto-options {{ -g -flto }} }
-! { dg-extra-ld-options "-r -nostdlib" }
+! { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
 
 MODULE globalvar_mod
 integer        :: xstop


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]