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
This commit is contained in:
Hui-May Chang 2007-01-18 22:32:43 +00:00 committed by Mike Stump
parent d1123cdeb3
commit f1316f27cc
2 changed files with 6 additions and 0 deletions

View 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.

View 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__