2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-2.c: xfail warnings for platforms that don't
support weak symbols.
* gcc.dg/weak-4.c: Likewise
* gcc.dg/weak-6.c: Likewise
From-SVN: r53601
+2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * gcc.dg/weak-2.c: xfail warnings for platforms that don't
+ support weak symbols.
+ * gcc.dg/weak-4.c: Likewise
+ * gcc.dg/weak-6.c: Likewise
+
2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-3.c: Add dg-excess-error comment for
return (void *)ffoo1b;
}
-extern void * ffoo1c (void); /* { dg-warning "applying #pragma weak" "applying #pragma weak" } */
+extern void * ffoo1c (void); /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
void * foo1c (void)
{
return (void *)ffoo1c;
}
-extern int vfoo1c; /* { dg-warning "applying #pragma weak" "applying #pragma weak" } */
+extern int vfoo1c; /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
void * foo1c (void)
{
return (void *)&vfoo1c;
#pragma weak vfoo1f
-extern int vfoo1g; /* { dg-warning "applying #pragma weak" "applying #pragma weak" } */
+extern int vfoo1g; /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
void * foo1g (void)
{
return (void *)&vfoo1g;
/* { dg-do compile } */
extern void * foo (void);
-void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */
+void * foo (void) { return (void *)foo; } /* { dg-error "precede" "" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
#pragma weak foo