20030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and...
authorJosef Zlomek <zlomekj@suse.cz>
Fri, 14 Feb 2003 09:17:22 +0000 (10:17 +0100)
committerJosef Zlomek <zlomek@gcc.gnu.org>
Fri, 14 Feb 2003 09:17:22 +0000 (09:17 +0000)
* gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on
cris-*-elf* cris-*-aout* and mmix-*-*.

From-SVN: r62896

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030213-1.c

index ae512c17590a6b4888802eba76dd5670becd1111..dc0b5db3a41a3a78ebe1008079279c9433749ee8 100644 (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.
index 7e55657ba9e33c248ab26dcc48c51fe022e98e70..c9fe3a40eafffd3b79ab743538ff9600829e86b6 100644 (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;