diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-16 07:25:22 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-16 07:25:22 +0000 |
| commit | e5d0aedb67db8cde3f078508ae866e8bceb83e1a (patch) | |
| tree | b70f9a50e9b731494e6ed91cf848d252be5a8899 | |
| parent | 5c17a266d22059ed1258d4f65170d1ba4adfd475 (diff) | |
| download | ppe42-gcc-e5d0aedb67db8cde3f078508ae866e8bceb83e1a.tar.gz ppe42-gcc-e5d0aedb67db8cde3f078508ae866e8bceb83e1a.zip | |
gcc/testsuite/
* gcc.dg/20020426-2.c: Add the fpic requirement to the PIC
dg-options rather than to the whole test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122979 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/20020426-2.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 395028ac3e8..19db7789114 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-03-16 Richard Sandiford <richard@codesourcery.com> + + * gcc.dg/20020426-2.c: Add the fpic requirement to the PIC + dg-options rather than to the whole test. + 2007-03-16 Alexandre Oliva <aoliva@redhat.com> PR debug/29906 diff --git a/gcc/testsuite/gcc.dg/20020426-2.c b/gcc/testsuite/gcc.dg/20020426-2.c index 40dd69c2ccc..5ddb3487c19 100644 --- a/gcc/testsuite/gcc.dg/20020426-2.c +++ b/gcc/testsuite/gcc.dg/20020426-2.c @@ -2,8 +2,7 @@ Distilled from zlib sources. */ /* { dg-do run } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ -/* { dg-require-effective-target fpic } */ +/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && { ilp32 && fpic } } } } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ extern void exit (int); |

