From 0ff9d199f59f22459f9189b9ed395730dd73f059 Mon Sep 17 00:00:00 2001 From: mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu, 18 Jan 2007 22:32:43 +0000 Subject: [PATCH] 2007-01-18 Hui-May Chang <hm.chang@apple.com> * gcc.c-torture/compile/pr27528.c: Add -fno-pic option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120936 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 bac8a24077f9..bd0b434b8e1b 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 2e732f478875..c5f8b5e1e568 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__ -- GitLab