aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2011-07-13 21:38:29 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2011-07-13 21:38:29 +0000
commit1db75f6c39f5ef4cda5f3b76975dddff035c90fd (patch)
tree41caa311889940f758249e50dea016723e0e5b68 /gcc/testsuite
parentf542c405c0bb1d6eda47ba05832fbd3c10e7e27e (diff)
downloadgcc-1db75f6c39f5ef4cda5f3b76975dddff035c90fd.zip
gcc-1db75f6c39f5ef4cda5f3b76975dddff035c90fd.tar.gz
gcc-1db75f6c39f5ef4cda5f3b76975dddff035c90fd.tar.bz2
Change -mno-r11 to -mno-pointers-to-nested-functions
From-SVN: r176252
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.target/powerpc/no-r11-1.c2
-rw-r--r--gcc/testsuite/gcc.target/powerpc/no-r11-2.c2
-rw-r--r--gcc/testsuite/gcc.target/powerpc/no-r11-3.c2
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index eebf940..a38c046 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-13 Michael Meissner <meissner@linux.vnet.ibm.com>
+
+ * gcc.target/powerpc/no-r11-1.c: Change -mno-r11 to
+ -mno-pointers-to-nested-functions.
+ * gcc.target/powerpc/no-r11-2.c: Ditto.
+ * gcc.target/powerpc/no-r11-3.c: Ditto.
+
2011-07-13 Jason Merrill <jason@redhat.com>
* lib/g++.exp (${tool}_option_help, ${tool}_option_proc): Remove.
diff --git a/gcc/testsuite/gcc.target/powerpc/no-r11-1.c b/gcc/testsuite/gcc.target/powerpc/no-r11-1.c
index 7e880e7..57c01a3 100644
--- a/gcc/testsuite/gcc.target/powerpc/no-r11-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/no-r11-1.c
@@ -1,6 +1,6 @@
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
-/* { dg-options "-O2 -mno-r11" } */
+/* { dg-options "-O2 -mno-pointers-to-nested-functions" } */
int
call_ptr (int (func) (void))
diff --git a/gcc/testsuite/gcc.target/powerpc/no-r11-2.c b/gcc/testsuite/gcc.target/powerpc/no-r11-2.c
index 981bc0c..3e4a6ca 100644
--- a/gcc/testsuite/gcc.target/powerpc/no-r11-2.c
+++ b/gcc/testsuite/gcc.target/powerpc/no-r11-2.c
@@ -1,6 +1,6 @@
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
-/* { dg-options "-O2 -mr11" } */
+/* { dg-options "-O2 -mpointers-to-nested-functions" } */
int
call_ptr (int (func) (void))
diff --git a/gcc/testsuite/gcc.target/powerpc/no-r11-3.c b/gcc/testsuite/gcc.target/powerpc/no-r11-3.c
index bc57385..c4b2448 100644
--- a/gcc/testsuite/gcc.target/powerpc/no-r11-3.c
+++ b/gcc/testsuite/gcc.target/powerpc/no-r11-3.c
@@ -1,6 +1,6 @@
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
-/* { dg-options "-O2 -mno-r11" } */
+/* { dg-options "-O2 -mno-pointers-to-nested-functions" } */
extern void ext_call (int (func) (void));