]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pr27528.c: Add -fno-pic option.
authorHui-May Chang <hm.chang@apple.com>
Thu, 18 Jan 2007 22:32:43 +0000 (22:32 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 18 Jan 2007 22:32:43 +0000 (22:32 +0000)
2007-01-18  Hui-May Chang  <hm.chang@apple.com>

* gcc.c-torture/compile/pr27528.c: Add -fno-pic option.

From-SVN: r120936

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr27528.c

index bac8a24077f96e2f5a546c3bfcda2c8ba10cd676..bd0b434b8e1b21cee67a092722f20f4015cc5446 100644 (file)
@@ -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.
index 2e732f47887527e4357bdc418cb691275d3d2d9f..c5f8b5e1e568609b6c32e3de57c7c35bcee1a0fa 100644 (file)
@@ -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__