diff mbox

[testsuite] : Xfail gcc.dg/c11-true_min-1.c execution for alpha*-*-*

Message ID CAFULd4a0qT3mpWE3jUPTPgEK5DNh2LibAvb3ogF_etQTWvWkdw@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Feb. 9, 2015, 11:50 a.m. UTC
Hello!

Attached patch xfails gcc.dg/c11-true_min-1.c execution for
alpha*-*-*. Without -mieee, it is not possible to compare a subnormal
number with zero on alpha targets, since any operation with subnormal
values will trigger a FPE.

2015-02-08  Uros Bizjak  <ubizjak@gmail.com>

    PR target/58757
    * gcc.dg/c11-true_min-1.c: Xfail execution for alpha*-*-*.

Tested on alphaev68-linux-gnu and committed to mainline SVN.

Uros.
diff mbox

Patch

Index: gcc.dg/c11-true_min-1.c
===================================================================
--- gcc.dg/c11-true_min-1.c	(revision 220527)
+++ gcc.dg/c11-true_min-1.c	(working copy)
@@ -1,9 +1,10 @@ 
 /* { dg-do run } */
 /* { dg-options "-std=c11" } */
+/* { dg-xfail-run-if "PR58757 -mieee is required to compare denormals" { alpha*-*-* } { "*" } { "" } } */
 
 /* Test that the smallest positive value is not 0. This needs to be true
    even when denormals are not supported, so we do not pass any flag
-   like -mieee.  If it fails on alpha, see PR 58757.  */
+   like -mieee.  */
 
 #include <float.h>