]> gcc.gnu.org Git - gcc.git/commitdiff
iinline-1.C: Use dg-add-options bind_pic_locally.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 16 Oct 2009 17:01:15 +0000 (17:01 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 16 Oct 2009 17:01:15 +0000 (17:01 +0000)
* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
* g++.dg/other/first-global.C: Likewise.
* g++.dg/parse/attr-externally-visible-1.C: Likewise.
* g++.dg/torture/pr40323.C: Likewise.
* g++.dg/tree-ssa/nothrow-1.C: Likewise.
* gcc.dg/inline-33.c: Likewise.
* gcc.dg/ipa/ipa-1.c: Likewise.
* gcc.dg/ipa/ipa-2.c: Likewise.
* gcc.dg/ipa/ipa-3.c: Likewise.
* gcc.dg/ipa/ipa-4.c: Likewise.
* gcc.dg/ipa/ipa-5.c: Likewise.
* gcc.dg/ipa/ipa-7.c: Likewise.
* gcc.dg/ipa/ipacost-2.c: Likewise.
* gcc.dg/tree-ssa/inline-3.c: Likewise.
* gcc.dg/tree-ssa/local-pure-const.c: Likewise.
* gfortran.dg/whole_file_5.f90: Likewise.
* gfortran.dg/whole_file_6.f90: Likewise.

From-SVN: r152911

18 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/iinline-1.C
gcc/testsuite/g++.dg/other/first-global.C
gcc/testsuite/g++.dg/parse/attr-externally-visible-1.C
gcc/testsuite/g++.dg/torture/pr40323.C
gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C
gcc/testsuite/gcc.dg/inline-33.c
gcc/testsuite/gcc.dg/ipa/ipa-1.c
gcc/testsuite/gcc.dg/ipa/ipa-2.c
gcc/testsuite/gcc.dg/ipa/ipa-3.c
gcc/testsuite/gcc.dg/ipa/ipa-4.c
gcc/testsuite/gcc.dg/ipa/ipa-5.c
gcc/testsuite/gcc.dg/ipa/ipa-7.c
gcc/testsuite/gcc.dg/ipa/ipacost-2.c
gcc/testsuite/gcc.dg/tree-ssa/inline-3.c
gcc/testsuite/gcc.dg/tree-ssa/local-pure-const.c
gcc/testsuite/gfortran.dg/whole_file_5.f90
gcc/testsuite/gfortran.dg/whole_file_6.f90

index 0f3e6a3b74a67246649846fa99c79908fa99bed4..ad82a2fde877f0d6aaeebf4e71725b9c07fa915f 100644 (file)
@@ -1,3 +1,23 @@
+2009-10-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
+       * g++.dg/other/first-global.C: Likewise.
+       * g++.dg/parse/attr-externally-visible-1.C: Likewise.
+       * g++.dg/torture/pr40323.C: Likewise.
+       * g++.dg/tree-ssa/nothrow-1.C: Likewise.
+       * gcc.dg/inline-33.c: Likewise.
+       * gcc.dg/ipa/ipa-1.c: Likewise.
+       * gcc.dg/ipa/ipa-2.c: Likewise.
+       * gcc.dg/ipa/ipa-3.c: Likewise.
+       * gcc.dg/ipa/ipa-4.c: Likewise.
+       * gcc.dg/ipa/ipa-5.c: Likewise.
+       * gcc.dg/ipa/ipa-7.c: Likewise.
+       * gcc.dg/ipa/ipacost-2.c: Likewise.
+       * gcc.dg/tree-ssa/inline-3.c: Likewise.
+       * gcc.dg/tree-ssa/local-pure-const.c: Likewise.
+       * gfortran.dg/whole_file_5.f90: Likewise.
+       * gfortran.dg/whole_file_6.f90: Likewise.
+
 2009-10-16  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/41728
index 1453c7e46584d9cd1a8afba095828f6e9fb25170..6419ac3e8cd13114e3f38aa6db4afda9e13e62e9 100644 (file)
@@ -2,7 +2,7 @@
    inlining..  */
 /* { dg-do compile } */
 /* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining"  } */
-/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
 
 extern void non_existent (const char *, int);
 
index a993a9d51755610e1c2de78e97385439f867b8b1..0f39a8abb7329fb7fd82d3906c8db22854fd3f4c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
 /* { dg-final { scan-assembler "_GLOBAL__I(_|_65535_0_)foobar" } } */
 
 struct foo { foo (); };
index dbdab88af2d2c2581357362eb640f4fd148241e1..845d873aacb7d00dbc3f6a9164a6d447be4a2124 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O3 -fwhole-program" }
-// { dg-options "-O3 -fwhole-program -fpie" { target { ! nonpic } } }
+// { dg-add-options bind_pic_locally }
 // { dg-final { scan-assembler "foo1" } }
 // { dg-final { scan-assembler "foo2" } }
 // { dg-final { scan-assembler "foo3" } }
index adecf7fe5f377e91df516e6c6104447fb20efd18..c7ffcb5d3f1b8bc7921300f66a40a8e951ea2952 100644 (file)
@@ -1,7 +1,7 @@
 /* Testcase for PR 40323.  */
 /* { dg-do compile } */
 /* { dg-options "-fno-early-inlining"  } */
-/* { dg-options "-fno-early-inlining -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
 
 extern void do_something (const char *, int);
 
index 4bb71589de365fd04c6fa2ab36b78214d4c50b54..33462946aed57cdddf8e2c1e135f5ed8415f25ec 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O1 -fdump-tree-cfg" } */
-/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
+
 double a;
 void t()
 {
index ac577e3cb88ecc7f7b54fd836b737bb0a6482ccb..d82ff71545b04b05621b6dfa6d1bfa0f5d981931 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fdump-tree-optimized"  } */
-/* { dg-options "-O3 -fdump-tree-optimized -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
 
 int i;
 
index 76ef9a643d60c1d57a128c09b61e28ced85df49b..65c0a0caae3c2b10a350a057ffe7c49b19f96f9f 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining"  } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdio.h>
 int g (int b, int c)
index 454927a2c19460897824df4b3f8f49dff2bdf307..1b94bbb7bc0534c658a2fd454783d1adfe9f29a4 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining"  } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdio.h>
 int g (int b, int c)
index 6eb3da40a6f34b43e68aa879d6a8db1672a3df24..57200a9ca5de3db2caa9af2c8eb111afa0888513 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining"  } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
 
 
 /* Double constants.  */
index c162b2385f2b2706ab4fb5a6577c44c82903e545..12af6a4f4d379304c748cae209c1babcbf45db00 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining"  } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdio.h>
 int g (int b, int c)
index 9e8006a2fef5dd2c1f940d387f4ac663a0750a0c..0ca6ba21dce200d38f4fcdf85d8550d8b755de69 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining"  } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
 
 /* Float & short constants.  */
 
index 1c4a1709df6b79389184b0b5493988e4c4b66826..b3ab0f532e4df71a7110fd9e99473bd7b7ccd570 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining"  } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdio.h>
 void send_addr (int *);
index 958059c73e6e5493eb35a2286ca25794dfa79089..d06c9b8a48c3f91598a7c4e4985e11d12ce0662d 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized"  } */
-/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
 
 int array[100];
 
index 13e27c307a40f23ecbf655b2770bdd69d41cc573..511cc9e2562440a49e1f1b3aa31ffc9c9e0b6f32 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-einline2" } */
-/* { dg-options "-O2 -fdump-tree-einline2 -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
+
 extern void inlined ();
 void inline_me_too (void);
 void inline_through_me (void (*ptr)(void));
index 065d212cb5f6d7676e1ad72b056a18cdc58991bc..afb7ca4b0df205f6e884a55ec4739b0349869730 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O1 -fdump-tree-local-pure-const1" } */
-/* { dg-options "-O1 -fdump-tree-local-pure-const1 -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
+
 t(int a, int b, int c)
 {
   int *p;
index 07ba4411c4c2a2e7d32c72c59c29979b6d66a39e..c6ad9e1b448ec8cde570e38347ea6925155d0399 100644 (file)
@@ -1,6 +1,6 @@
 ! { dg-do "compile" }
 ! { dg-options "-O3 -fwhole-file -fdump-tree-optimized" }
-! { dg-options "-O3 -fwhole-file -fdump-tree-optimized -fpie" { target { ! nonpic } } }
+! { dg-add-options bind_pic_locally }
 !
 ! Check that inlining of functions declared BEFORE usage works.
 ! If yes, then the dump does not contain a call to F().
index f903c7aefc5fc28632b70247db2254b60b3d0be5..274b8a99c6c8802b40966571c36e1002372d7b11 100644 (file)
@@ -1,6 +1,6 @@
 ! { dg-do "compile" }
 ! { dg-options "-O3 -fwhole-file -fdump-tree-optimized" }
-! { dg-options "-O3 -fwhole-file -fdump-tree-optimized -fpie" { target { ! nonpic } } }
+! { dg-add-options bind_pic_locally }
 !
 ! Check that inlining of functions declared AFTER usage works.
 ! If yes, then the dump does not contain a call to F().
This page took 0.097106 seconds and 5 git commands to generate.