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]

[m68k] some testsuite cleanups


This patch fixes some testsuite fails on coldfire. With my recent binutils changes, the spl1 test gratuitously failed to compile because of the use of the -m68000 flag would conflict with a -m5200 or other coldfire selection flag.
The static11 test doesn't work on bare boards, as the comment already there indicates, so I xfail it. Similarly thunk2 has an out-of-range relocation.


ok?

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2006-02-21  Nathan Sidwell  <nathan@codesourcery.com>

	* gcc.dg/bf-spl1.c: Don't specify -m68000.
	* g++.old-deja/g++.jason/thunk2.C: Add dg-bogus for m68k
	* g++.old-deja/g++.pt/static11.C: Xfail for m68k-elf

Index: gcc.dg/bf-spl1.c
===================================================================
--- gcc.dg/bf-spl1.c	(revision 110441)
+++ gcc.dg/bf-spl1.c	(working copy)
@@ -1,6 +1,5 @@
 /* { dg-do run { target m68k-*-* sparc-*-* } } */
-/* { dg-options { -m68000 -O2 } { target m68k-*-* } } */
-/* { dg-options { -O2 } { target sparc-*-* } } */
+/* { dg-options { -O2 } } */
 
 extern void abort (void);
 
Index: g++.old-deja/g++.jason/thunk2.C
===================================================================
--- g++.old-deja/g++.jason/thunk2.C	(revision 110441)
+++ g++.old-deja/g++.jason/thunk2.C	(working copy)
@@ -1,6 +1,7 @@
 // { dg-do run { target fpic } }
 // { dg-options "-fPIC" }
 // { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))|\[Bb\]ad fixup at .DATA.:" "PIC unsupported" { xfail *-*-netware* } 0 }
+// { dg-bogus "relocation truncated to fit" "PIC unsuppoted" { xfail m68k-*-elf } 0 }
 // Test that non-variadic function calls using thunks and PIC work right.
 
 struct A {
Index: g++.old-deja/g++.pt/static11.C
===================================================================
--- g++.old-deja/g++.pt/static11.C	(revision 110441)
+++ g++.old-deja/g++.pt/static11.C	(working copy)
@@ -2,7 +2,7 @@
 // in their dejagnu baseboard description) require that the status is
 // final when exit is entered (or main returns), and not "overruled" by a
 // destructor calling _exit.  It's not really worth it to handle that.
-// { dg-do run { xfail mmix-knuth-mmixware xtensa-*-elf* arm*-*-elf arm*-*-eabi } }
+// { dg-do run { xfail mmix-knuth-mmixware xtensa-*-elf* arm*-*-elf arm*-*-eabi m68k-*-elf } }
 
 // Bug: g++ was failing to destroy C<int>::a because it was using two
 // different sentry variables for construction and destruction.

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