RFA: Skip g++.dg/other/anon5.C for mips*-elf* targets on 4.3
Richard Sandiford
rsandifo@nildram.co.uk
Mon Feb 18 23:45:00 GMT 2008
g++.dg/other/anon5.C was added recently, but fails on mips*-elf*
targets because of a bug in binutils. (Specifically, we compare
sign-extended addresses with non-extended addresses when searching
the aranges, and never find a match.) Obviously the best long-term
thing would be to fix binutils, which I plan to do when I get time,
but I think we should try to keep the release branch at zero XFAILs
even when not using bleeding-edge tools. I'd therefore like to skip
the test for MIPS* ELF targets on 4.3. (I'll keep it failing on
mainline as an incentive to fix it.)
Tested on x86_64-linux-gnu and mipsisa64-elf. OK for 4.3?
Richard
gcc/testsuite/
* g++.dg/other/anon5.C: Skip for MIPS ELF targets.
Index: gcc/testsuite/g++.dg/other/anon5.C
===================================================================
--- gcc/testsuite/g++.dg/other/anon5.C (revision 132382)
+++ gcc/testsuite/g++.dg/other/anon5.C (working copy)
@@ -1,5 +1,5 @@
// PR c++/34094
-// { dg-do link }
+// { dg-do link { target { ! mips*-*-elf* } } }
// { dg-options "-g" }
namespace {
More information about the Gcc-patches
mailing list