diff options
author | Hui-May Chang <hm.chang@apple.com> | 2007-01-18 22:32:43 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2007-01-18 22:32:43 +0000 |
commit | f1316f27cc6fb2367801781e87eda77ae8189812 (patch) | |
tree | ee60638d1e432d4ba64148e2a09f9ea3cf2caaa7 | |
parent | d1123cdeb371b52544eb1f79ddbd3683f9d55ef7 (diff) | |
download | gcc-f1316f27cc6fb2367801781e87eda77ae8189812.zip gcc-f1316f27cc6fb2367801781e87eda77ae8189812.tar.gz gcc-f1316f27cc6fb2367801781e87eda77ae8189812.tar.bz2 |
pr27528.c: Add -fno-pic option.
2007-01-18 Hui-May Chang <hm.chang@apple.com>
* gcc.c-torture/compile/pr27528.c: Add -fno-pic option.
From-SVN: r120936
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr27528.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bac8a24..bd0b434 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-01-18 Hui-May Chang <hm.chang@apple.com> + + * gcc.c-torture/compile/pr27528.c: Add -fno-pic option. + 2007-01-18 Nathan Sidwell <nathan@codesourcery.com> * gcc.dg/m68k-pic-1.c: New. diff --git a/gcc/testsuite/gcc.c-torture/compile/pr27528.c b/gcc/testsuite/gcc.c-torture/compile/pr27528.c index 2e732f4..c5f8b5e 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr27528.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr27528.c @@ -1,5 +1,7 @@ /* 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" } */ + int x[2] = { 1, 2 }; #ifdef __OPTIMIZE__ |