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
This commit is contained in:
Josef Zlomek 2003-02-14 10:17:22 +01:00 committed by Josef Zlomek
parent 8fd737543f
commit 6e8647d54a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-02-14 Josef Zlomek <zlomekj@suse.cz>
* gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on
cris-*-elf* cris-*-aout* and mmix-*-*.
2003-02-13 Josef Zlomek <zlomekj@suse.cz>
* gcc.dg/20030213-1.c: New test.

View File

@ -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;