Patchwork [testsuite] : Use dg-add-options ieee in gcc.dg/torture/pr50396.c

login
register
mail settings
Submitter Uros Bizjak
Date Dec. 28, 2011, 9:28 a.m.
Message ID <CAFULd4ZJbkfR836RGAryHevUAJifW7hMNhLerb-kJQSvOuApKg@mail.gmail.com>
Download mbox | patch
Permalink /patch/133417/
State New
Headers show

Comments

Uros Bizjak - Dec. 28, 2011, 9:28 a.m.
Hello!

Some targets (i.e. alpha) need -mieee to handle NaNs.

2011-12-28  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.dg/torture/pr50396.c: Use dg-add-options ieee.

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

Uros.

Patch

Index: gcc.dg/torture/pr50396.c
===================================================================
--- gcc.dg/torture/pr50396.c    (revision 182694)
+++ gcc.dg/torture/pr50396.c    (working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-add-options ieee } */

 extern void abort (void);
 typedef float vf128 __attribute__((vector_size(16)));