From: Josef Zlomek Date: Fri, 14 Feb 2003 09:17:22 +0000 (+0100) Subject: 20030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e8647d54ad5ba9457b010400fbccc9f47546d42;p=gcc.git 20030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and mmix-*-*. * gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and mmix-*-*. From-SVN: r62896 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ae512c17590..dc0b5db3a41 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-14 Josef Zlomek + + * gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on + cris-*-elf* cris-*-aout* and mmix-*-*. + 2003-02-13 Josef Zlomek * gcc.dg/20030213-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/20030213-1.c b/gcc/testsuite/gcc.dg/20030213-1.c index 7e55657ba9e..c9fe3a40eaf 100644 --- a/gcc/testsuite/gcc.dg/20030213-1.c +++ b/gcc/testsuite/gcc.dg/20030213-1.c @@ -1,6 +1,7 @@ /* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */ -/* { dg-do link { target *-*-* } } */ +/* { dg-do link } */ /* { dg-options "-O -fpic" } */ +/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ int *g;