This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR84512
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Richard Biener <rguenther at suse dot de>, gcc-patches at gcc dot gnu dot org, Tom de Vries <Tom_deVries at mentor dot com>, Jan Hubicka <jh at suse dot de>
- Date: Wed, 21 Mar 2018 19:00:54 +0100
- Subject: Re: [PATCH] Fix PR84512
- References: <alpine.LSU.2.20.1802271339480.18265@zhemvz.fhfr.qr> <yddfu4uo66l.fsf@CeBiTec.Uni-Bielefeld.DE> <alpine.LSU.2.20.1803210914420.18265@zhemvz.fhfr.qr> <3608812.k8flWF89Z6@polaris>
Hi Eric,
>> So it failed before Toms original patch. Please add sparc-solaris
>> to the list of XFAILed targets.
>
> SPARC/Linux is affected too so sparc*-*-* instead.
actually, it's sparc*-*-* && lp64 only. Done like this after testing on
sparc-sun-solaris2.11 and i386-pc-solaris2.11.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2018-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/tree-ssa/pr84512.c: xfail on 64-bit SPARC.
# HG changeset patch
# Parent 50996d41bbbc78ab2cf0002ba6479559089a2337
xfail gcc.dg/tree-ssa/pr84512.c on 64-bit sparc
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr84512.c b/gcc/testsuite/gcc.dg/tree-ssa/pr84512.c
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr84512.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr84512.c
@@ -13,4 +13,4 @@ int foo()
}
/* Target nvptx xfail due to PR84958. */
-/* { dg-final { scan-tree-dump "return 285;" "optimized" { xfail nvptx*-*-* } } } */
+/* { dg-final { scan-tree-dump "return 285;" "optimized" { xfail { nvptx*-*-* || { sparc*-*-* && lp64 } } } } } */