From f1316f27cc6fb2367801781e87eda77ae8189812 Mon Sep 17 00:00:00 2001 From: Hui-May Chang Date: Thu, 18 Jan 2007 22:32:43 +0000 Subject: [PATCH] pr27528.c: Add -fno-pic option. 2007-01-18 Hui-May Chang * gcc.c-torture/compile/pr27528.c: Add -fno-pic option. From-SVN: r120936 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/compile/pr27528.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bac8a24077f..bd0b434b8e1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-01-18 Hui-May Chang + + * gcc.c-torture/compile/pr27528.c: Add -fno-pic option. + 2007-01-18 Nathan Sidwell * 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 2e732f47887..c5f8b5e1e56 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__