pr44683.x: New.
authorKaz Kojima <kkojima@gcc.gnu.org>
Tue, 13 Jul 2010 10:43:52 +0000 (10:43 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Tue, 13 Jul 2010 10:43:52 +0000 (10:43 +0000)
* gcc.c-torture/execute/pr44683.x: New.
* gcc.dg/torture/builtin-cproj-1.c: Add dg-add-options ieee.

From-SVN: r162136

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr44683.x [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/builtin-cproj-1.c

index 9f4bd1e14773f03808e783c9ab44bfffbf969fe1..9e53f92bca3a9d44d666057a14fb9164c17fb9ef 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-13  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * gcc.c-torture/execute/pr44683.x: New.
+       * gcc.dg/torture/builtin-cproj-1.c: Add dg-add-options ieee.
+
 2010-07-13  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/44434
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr44683.x b/gcc/testsuite/gcc.c-torture/execute/pr44683.x
new file mode 100644 (file)
index 0000000..2041340
--- /dev/null
@@ -0,0 +1,6 @@
+if { [istarget "sh*-*-*"] } {
+       # SH require -mieee for this test.
+       set additional_flags "-mieee"
+}
+
+return 0
index 31cd5874ffba59e612a4bffe114a5db5c6240a72..031a2fca0a9417126b1b706f14f3d9bb33a2e0ae 100644 (file)
@@ -6,6 +6,7 @@
    Origin: Kaveh R. Ghazi,  April 9, 2010.  */
 
 /* { dg-do link } */
+/* { dg-add-options ieee } */
 
 /* All references to link_error should go away at compile-time.  The
    argument is the __LINE__ number.  It appears in the tree dump file