This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Disable weak-1.c on h8300 port.


Hi Richard,

> Err, there is an elf port for h8...  Perhaps you
> wanted h8300-*-hms?

Oops.  Yes, it's shame as an h8300 port maintainer...  Here is a
revised patch.  OK to apply to both mainline and branch if testing
goes well?

Kazu Hirata

2002-03-30  Kazu Hirata  <kazu@hxi.com>

	* gcc.dg/weak-1.c: Disable on h8300 port.

Index: weak-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/weak-1.c,v
retrieving revision 1.4
diff -u -r1.4 weak-1.c
--- weak-1.c	2002/03/25 00:44:36	1.4
+++ weak-1.c	2002/03/30 23:42:49
@@ -2,9 +2,10 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]