aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-04-14 02:04:15 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-04-14 02:04:15 +0000
commit2a60412a5fe4f46860bf03cf8242b4c0083a37cb (patch)
treed2b91567d7ab03ab9a689f69e439622b30495147 /gcc
parent2a6acff7f9be7b2d5a2afea7521c44a5d9b1c4bc (diff)
downloadgcc-2a60412a5fe4f46860bf03cf8242b4c0083a37cb.zip
gcc-2a60412a5fe4f46860bf03cf8242b4c0083a37cb.tar.gz
gcc-2a60412a5fe4f46860bf03cf8242b4c0083a37cb.tar.bz2
* gcc.c-torture/compile/pr27528.c: Require nonpic.
From-SVN: r123809
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr27528.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 118d9ad..38d12d6 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-14 Kazu Hirata <kazu@codesourcery.com>
+
+ * gcc.c-torture/compile/pr27528.c: Require nonpic.
+
2007-04-13 Jason Merrill <jason@redhat.com>
PR c++/31074
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr27528.c b/gcc/testsuite/gcc.c-torture/compile/pr27528.c
index c5f8b5e..0400491 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr27528.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr27528.c
@@ -1,6 +1,6 @@
/* Check that constant constraints like "i", "n" and "s" can be used in
cases where the operand is an initializer constant. */
-/* { dg-options "-fno-pic" } */
+/* { dg-require-effective-target nonpic } */
int x[2] = { 1, 2 };