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  <ubiz...@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.
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>
 

Reply via email to