Patchwork [testsuite] skip gcc.target/powerpc-tfmode_off.c for eabi

login
register
mail settings
Submitter Janis Johnson
Date July 8, 2013, 7:48 p.m.
Message ID <51DB179D.3030204@mentor.com>
Download mbox | patch
Permalink /patch/257599/
State New
Headers show

Comments

Janis Johnson - July 8, 2013, 7:48 p.m.
Test gcc.target/powerpc-tfmode_off.c fails for powerpc-eabi* targets,
which do not support TFmode.  This patch skips the test for
powerpc-*-eabi*.

OK for mainline and the 4.8 branch?

Janis
2013-07-08  Janis Johnson  <janisjo@codesourcery.com>

	* gcc.target/powerpc/tfmode_off.c: Skip for EABI targets.
Mike Stump - July 8, 2013, 8:09 p.m.
On Jul 8, 2013, at 12:48 PM, Janis Johnson <janis_johnson@mentor.com> wrote:
> Test gcc.target/powerpc-tfmode_off.c fails for powerpc-eabi* targets,
> which do not support TFmode.  This patch skips the test for
> powerpc-*-eabi*.
> 
> OK for mainline and the 4.8 branch?

Ok, but could you please add a comment why it is skipped.  (No TFmode, for example)

Patch

Index: gcc.target/powerpc/tfmode_off.c
===================================================================
--- gcc.target/powerpc/tfmode_off.c	(revision 200621)
+++ gcc.target/powerpc/tfmode_off.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do assemble } */
 /* { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
+/* { dg-skip-if "" { powerpc-*-eabi* } { "*" } { "" } } */
 /* { dg-options "-O2 -fno-align-functions -mtraceback=no -save-temps" } */
 
 typedef float TFmode __attribute__ ((mode (TF)));