OSDN Git Service

* gcc.dg/dfp/dfp.exp: Also run tests in c-c++-common/dfp.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Sep 2009 17:40:28 +0000 (17:40 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Sep 2009 17:40:28 +0000 (17:40 +0000)
* c-c++-common/dfp: New directory.
* c-c++-common/dfp/dfp-dbg.h: New file.
* gcc.dg/dfp/call-by-value.c: Move to ...
* c-c++-common/call-by-value.c: here.
* gcc.dg/dfp/cast.c: Move to ...
* c-c++-common/cast.c: here.
* gcc.dg/dfp/compare-eq-const.c: Move to ...
* c-c++-common/compare-eq-const.c: here.
* gcc.dg/dfp/compare-eq-d128.c: Move to ...
* c-c++-common/compare-eq-d128.c: here.
* gcc.dg/dfp/compare-eq-d32.c: Move to ...
* c-c++-common/compare-eq-d32.c: here.
* gcc.dg/dfp/compare-eq-d64.c: Move to ...
* c-c++-common/compare-eq-d64.c: here.
* gcc.dg/dfp/compare-eq-dfp.c: Move to ...
* c-c++-common/compare-eq-dfp.c: here.
* gcc.dg/dfp/compare-eq.h: Move to ...
* c-c++-common/compare-eq.h: here.
* gcc.dg/dfp/compare-rel-const.c: Move to ...
* c-c++-common/compare-rel-const.c: here.
* gcc.dg/dfp/compare-rel-d128.c: Move to ...
* c-c++-common/compare-rel-d128.c: here.
* gcc.dg/dfp/compare-rel-d32.c: Move to ...
* c-c++-common/compare-rel-d32.c: here.
* gcc.dg/dfp/compare-rel-d64.c: Move to ...
* c-c++-common/compare-rel-d64.c: here.
* gcc.dg/dfp/compare-rel-dfp.c: Move to ...
* c-c++-common/compare-rel-dfp.c: here.
* gcc.dg/dfp/compare-rel.h: Move to ...
* c-c++-common/compare-rel.h: here.
* gcc.dg/dfp/compare-special-d128.c: Move to ...
* c-c++-common/compare-special-d128.c: here.
* gcc.dg/dfp/compare-special-d32.c: Move to ...
* c-c++-common/compare-special-d32.c: here.
* gcc.dg/dfp/compare-special-d64.c: Move to ...
* c-c++-common/compare-special-d64.c: here.
* gcc.dg/dfp/compare-special.h: Move to ...
* c-c++-common/compare-special.h: here.
* gcc.dg/dfp/constants-zero.c: Move to ...
* c-c++-common/constants-zero.c: here.
* gcc.dg/dfp/convert-bfp-10.c: Move to ...
* c-c++-common/convert-bfp-10.c: here.
* gcc.dg/dfp/convert-bfp-11.c: Move to ...
* c-c++-common/convert-bfp-11.c: here.
* gcc.dg/dfp/convert-bfp-12.c: Move to ...
* c-c++-common/convert-bfp-12.c: here.
* gcc.dg/dfp/convert-bfp-13.c: Move to ...
* c-c++-common/convert-bfp-13.c: here.
* gcc.dg/dfp/convert-bfp-14.c: Move to ...
* c-c++-common/convert-bfp-14.c: here.
* gcc.dg/dfp/convert-bfp-2.c: Move to ...
* c-c++-common/convert-bfp-2.c: here.
* gcc.dg/dfp/convert-bfp-3.c: Move to ...
* c-c++-common/convert-bfp-3.c: here.
* gcc.dg/dfp/convert-bfp-4.c: Move to ...
* c-c++-common/convert-bfp-4.c: here.
* gcc.dg/dfp/convert-bfp-5.c: Move to ...
* c-c++-common/convert-bfp-5.c: here.
* gcc.dg/dfp/convert-bfp-6.c: Move to ...
* c-c++-common/convert-bfp-6.c: here.
* gcc.dg/dfp/convert-bfp-7.c: Move to ...
* c-c++-common/convert-bfp-7.c: here.
* gcc.dg/dfp/convert-bfp-8.c: Move to ...
* c-c++-common/convert-bfp-8.c: here.
* gcc.dg/dfp/convert-bfp-9.c: Move to ...
* c-c++-common/convert-bfp-9.c: here.
* gcc.dg/dfp/convert-bfp.c: Move to ...
* c-c++-common/convert-bfp.c: here.
* gcc.dg/dfp/convert-bfp-fold.c: Move to ...
* c-c++-common/convert-bfp-fold.c: here.
* gcc.dg/dfp/convert-dfp.c: Move to ...
* c-c++-common/convert-dfp.c: here.
* gcc.dg/dfp/convert-dfp-fold-2.c: Move to ...
* c-c++-common/convert-dfp-fold-2.c: here.
* gcc.dg/dfp/convert-dfp-fold.c: Move to ...
* c-c++-common/convert-dfp-fold.c: here.
* gcc.dg/dfp/convert.h: Move to ...
* c-c++-common/convert.h: here.
* gcc.dg/dfp/convert-int.c: Move to ...
* c-c++-common/convert-int.c: here.
* gcc.dg/dfp/convert-int-fold.c: Move to ...
* c-c++-common/convert-int-fold.c: here.
* gcc.dg/dfp/convert-int-max.c: Move to ...
* c-c++-common/convert-int-max.c: here.
* gcc.dg/dfp/convert-int-max-fold.c: Move to ...
* c-c++-common/convert-int-max-fold.c: here.
* gcc.dg/dfp/convert-int-saturate.c: Move to ...
* c-c++-common/convert-int-saturate.c: here.
* gcc.dg/dfp/func-array.c: Move to ...
* c-c++-common/func-array.c: here.
* gcc.dg/dfp/func-deref.c: Move to ...
* c-c++-common/func-deref.c: here.
* gcc.dg/dfp/func-mixed.c: Move to ...
* c-c++-common/func-mixed.c: here.
* gcc.dg/dfp/func-pointer.c: Move to ...
* c-c++-common/func-pointer.c: here.
* gcc.dg/dfp/func-scalar.c: Move to ...
* c-c++-common/func-scalar.c: here.
* gcc.dg/dfp/func-struct.c: Move to ...
* c-c++-common/func-struct.c: here.
* gcc.dg/dfp/func-vararg-alternate-d128-2.c: Move to ...
* c-c++-common/func-vararg-alternate-d128-2.c: here.
* gcc.dg/dfp/func-vararg-alternate-d128.c: Move to ...
* c-c++-common/func-vararg-alternate-d128.c: here.
* gcc.dg/dfp/func-vararg-alternate-d32.c: Move to ...
* c-c++-common/func-vararg-alternate-d32.c: here.
* gcc.dg/dfp/func-vararg-alternate-d64.c: Move to ...
* c-c++-common/func-vararg-alternate-d64.c: here.
* gcc.dg/dfp/func-vararg-alternate.h: Move to ...
* c-c++-common/func-vararg-alternate.h: here.
* gcc.dg/dfp/func-vararg-dfp.c: Move to ...
* c-c++-common/func-vararg-dfp.c: here.
* gcc.dg/dfp/func-vararg-mixed-2.c: Move to ...
* c-c++-common/func-vararg-mixed-2.c: here.
* gcc.dg/dfp/func-vararg-mixed.c: Move to ...
* c-c++-common/func-vararg-mixed.c: here.
* gcc.dg/dfp/func-vararg-size0.c: Move to ...
* c-c++-common/func-vararg-size0.c: here.
* gcc.dg/dfp/inf-1.c: Move to ...
* c-c++-common/inf-1.c: here.
* gcc.dg/dfp/loop-index.c: Move to ...
* c-c++-common/loop-index.c: here.
* gcc.dg/dfp/modes.c: Move to ...
* c-c++-common/modes.c: here.
* gcc.dg/dfp/nan-1.c: Move to ...
* c-c++-common/nan-1.c: here.
* gcc.dg/dfp/nan-2.c: Move to ...
* c-c++-common/nan-2.c: here.
* gcc.dg/dfp/operator-arith-fold.c: Move to ...
* c-c++-common/operator-arith-fold.c: here.
* gcc.dg/dfp/operator-assignment.c: Move to ...
* c-c++-common/operator-assignment.c: here.
* gcc.dg/dfp/operator-comma.c: Move to ...
* c-c++-common/operator-comma.c: here.
* gcc.dg/dfp/operator-cond.c: Move to ...
* c-c++-common/operator-cond.c: here.
* gcc.dg/dfp/operator-logical.c: Move to ...
* c-c++-common/operator-logical.c: here.
* gcc.dg/dfp/operator-unary.c: Move to ...
* c-c++-common/operator-unary.c: here.
* gcc.dg/dfp/pr31385.c: Move to ...
* c-c++-common/pr31385.c: here.
* gcc.dg/dfp/pr33466.c: Move to ...
* c-c++-common/pr33466.c: here.
* gcc.dg/dfp/pr35620.c: Move to ...
* c-c++-common/pr35620.c: here.
* gcc.dg/dfp/pr36800.c: Move to ...
* c-c++-common/pr36800.c: here.
* gcc.dg/dfp/pr39034.c: Move to ...
* c-c++-common/pr39034.c: here.
* gcc.dg/dfp/pr39035.c: Move to ...
* c-c++-common/pr39035.c: here.
* gcc.dg/dfp/pr39902.c: Move to ...
* c-c++-common/pr39902.c: here.
* gcc.dg/dfp/pr39986.c: Move to ...
* c-c++-common/pr39986.c: here.
* gcc.dg/dfp/signbit-1.c: Move to ...
* c-c++-common/signbit-1.c: here.
* gcc.dg/dfp/signbit-2.c: Move to ...
* c-c++-common/signbit-2.c: here.
* gcc.dg/dfp/struct-layout-1.c: Move to ...
* c-c++-common/struct-layout-1.c: here.
* gcc.dg/dfp/usual-arith-conv.c: Move to ...
* c-c++-common/usual-arith-conv.c: here.
* gcc.dg/dfp/usual-arith-conv-const.c: Move to ...
* c-c++-common/usual-arith-conv-const.c: here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151861 138bc75d-0d04-0410-961f-82ee72b054a4

85 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dfp/call-by-value.c [moved from gcc/testsuite/gcc.dg/dfp/call-by-value.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/cast.c [moved from gcc/testsuite/gcc.dg/dfp/cast.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-eq-const.c [moved from gcc/testsuite/gcc.dg/dfp/compare-eq-const.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-eq-d128.c [moved from gcc/testsuite/gcc.dg/dfp/compare-eq-d128.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-eq-d32.c [moved from gcc/testsuite/gcc.dg/dfp/compare-eq-d32.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-eq-d64.c [moved from gcc/testsuite/gcc.dg/dfp/compare-eq-d64.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-eq-dfp.c [moved from gcc/testsuite/gcc.dg/dfp/compare-eq-dfp.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-eq.h [moved from gcc/testsuite/gcc.dg/dfp/compare-eq.h with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-rel-const.c [moved from gcc/testsuite/gcc.dg/dfp/compare-rel-const.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-rel-d128.c [moved from gcc/testsuite/gcc.dg/dfp/compare-rel-d128.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-rel-d32.c [moved from gcc/testsuite/gcc.dg/dfp/compare-rel-d32.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-rel-d64.c [moved from gcc/testsuite/gcc.dg/dfp/compare-rel-d64.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-rel-dfp.c [moved from gcc/testsuite/gcc.dg/dfp/compare-rel-dfp.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-rel.h [moved from gcc/testsuite/gcc.dg/dfp/compare-rel.h with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-special-d128.c [moved from gcc/testsuite/gcc.dg/dfp/compare-special-d128.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-special-d32.c [moved from gcc/testsuite/gcc.dg/dfp/compare-special-d32.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-special-d64.c [moved from gcc/testsuite/gcc.dg/dfp/compare-special-d64.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/compare-special.h [moved from gcc/testsuite/gcc.dg/dfp/compare-special.h with 100% similarity]
gcc/testsuite/c-c++-common/dfp/constants-zero.c [moved from gcc/testsuite/gcc.dg/dfp/constants-zero.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-10.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-10.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-11.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-12.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-12.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-13.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-13.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-14.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-14.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-2.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-2.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-3.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-3.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-4.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-4.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-5.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-5.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-6.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-6.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-7.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-7.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-8.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-8.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-9.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-9.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp-fold.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp-fold.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-bfp.c [moved from gcc/testsuite/gcc.dg/dfp/convert-bfp.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-dfp-fold-2.c [moved from gcc/testsuite/gcc.dg/dfp/convert-dfp-fold-2.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-dfp-fold.c [moved from gcc/testsuite/gcc.dg/dfp/convert-dfp-fold.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-dfp.c [moved from gcc/testsuite/gcc.dg/dfp/convert-dfp.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-int-fold.c [moved from gcc/testsuite/gcc.dg/dfp/convert-int-fold.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-int-max-fold.c [moved from gcc/testsuite/gcc.dg/dfp/convert-int-max-fold.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-int-max.c [moved from gcc/testsuite/gcc.dg/dfp/convert-int-max.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-int-saturate.c [moved from gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert-int.c [moved from gcc/testsuite/gcc.dg/dfp/convert-int.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/convert.h [moved from gcc/testsuite/gcc.dg/dfp/convert.h with 100% similarity]
gcc/testsuite/c-c++-common/dfp/dfp-dbg.h [new file with mode: 0644]
gcc/testsuite/c-c++-common/dfp/func-array.c [moved from gcc/testsuite/gcc.dg/dfp/func-array.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-deref.c [moved from gcc/testsuite/gcc.dg/dfp/func-deref.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-mixed.c [moved from gcc/testsuite/gcc.dg/dfp/func-mixed.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-pointer.c [moved from gcc/testsuite/gcc.dg/dfp/func-pointer.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-scalar.c [moved from gcc/testsuite/gcc.dg/dfp/func-scalar.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-struct.c [moved from gcc/testsuite/gcc.dg/dfp/func-struct.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-alternate-d128-2.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-alternate-d128-2.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-alternate-d128.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-alternate-d128.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-alternate-d32.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-alternate-d32.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-alternate-d64.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-alternate-d64.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-alternate.h [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-alternate.h with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-dfp.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-dfp.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-mixed-2.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-mixed-2.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-mixed.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-mixed.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/func-vararg-size0.c [moved from gcc/testsuite/gcc.dg/dfp/func-vararg-size0.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/inf-1.c [moved from gcc/testsuite/gcc.dg/dfp/inf-1.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/loop-index.c [moved from gcc/testsuite/gcc.dg/dfp/loop-index.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/modes.c [moved from gcc/testsuite/gcc.dg/dfp/modes.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/nan-1.c [moved from gcc/testsuite/gcc.dg/dfp/nan-1.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/nan-2.c [moved from gcc/testsuite/gcc.dg/dfp/nan-2.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/operator-arith-fold.c [moved from gcc/testsuite/gcc.dg/dfp/operator-arith-fold.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/operator-assignment.c [moved from gcc/testsuite/gcc.dg/dfp/operator-assignment.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/operator-comma.c [moved from gcc/testsuite/gcc.dg/dfp/operator-comma.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/operator-cond.c [moved from gcc/testsuite/gcc.dg/dfp/operator-cond.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/operator-logical.c [moved from gcc/testsuite/gcc.dg/dfp/operator-logical.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/operator-unary.c [moved from gcc/testsuite/gcc.dg/dfp/operator-unary.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr31385.c [moved from gcc/testsuite/gcc.dg/dfp/pr31385.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr33466.c [moved from gcc/testsuite/gcc.dg/dfp/pr33466.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr35620.c [moved from gcc/testsuite/gcc.dg/dfp/pr35620.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr36800.c [moved from gcc/testsuite/gcc.dg/dfp/pr36800.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr39034.c [moved from gcc/testsuite/gcc.dg/dfp/pr39034.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr39035.c [moved from gcc/testsuite/gcc.dg/dfp/pr39035.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr39902.c [moved from gcc/testsuite/gcc.dg/dfp/pr39902.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/pr39986.c [moved from gcc/testsuite/gcc.dg/dfp/pr39986.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/signbit-1.c [moved from gcc/testsuite/gcc.dg/dfp/signbit-1.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/signbit-2.c [moved from gcc/testsuite/gcc.dg/dfp/signbit-2.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/struct-layout-1.c [moved from gcc/testsuite/gcc.dg/dfp/struct-layout-1.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/usual-arith-conv-const.c [moved from gcc/testsuite/gcc.dg/dfp/usual-arith-conv-const.c with 100% similarity]
gcc/testsuite/c-c++-common/dfp/usual-arith-conv.c [moved from gcc/testsuite/gcc.dg/dfp/usual-arith-conv.c with 100% similarity]
gcc/testsuite/gcc.dg/dfp/dfp.exp

index 4c2d365..e4e7a21 100644 (file)
@@ -1,3 +1,173 @@
+2009-09-18  Janis Johnson  <janis187@us.ibm.com>
+
+       * gcc.dg/dfp/dfp.exp: Also run tests in c-c++-common/dfp.
+       * c-c++-common/dfp: New directory.
+       * c-c++-common/dfp/dfp-dbg.h: New file.
+       * gcc.dg/dfp/call-by-value.c: Move to ...
+       * c-c++-common/call-by-value.c: here.
+       * gcc.dg/dfp/cast.c: Move to ...
+       * c-c++-common/cast.c: here.
+       * gcc.dg/dfp/compare-eq-const.c: Move to ...
+       * c-c++-common/compare-eq-const.c: here.
+       * gcc.dg/dfp/compare-eq-d128.c: Move to ...
+       * c-c++-common/compare-eq-d128.c: here.
+       * gcc.dg/dfp/compare-eq-d32.c: Move to ...
+       * c-c++-common/compare-eq-d32.c: here.
+       * gcc.dg/dfp/compare-eq-d64.c: Move to ...
+       * c-c++-common/compare-eq-d64.c: here.
+       * gcc.dg/dfp/compare-eq-dfp.c: Move to ...
+       * c-c++-common/compare-eq-dfp.c: here.
+       * gcc.dg/dfp/compare-eq.h: Move to ...
+       * c-c++-common/compare-eq.h: here.
+       * gcc.dg/dfp/compare-rel-const.c: Move to ...
+       * c-c++-common/compare-rel-const.c: here.
+       * gcc.dg/dfp/compare-rel-d128.c: Move to ...
+       * c-c++-common/compare-rel-d128.c: here.
+       * gcc.dg/dfp/compare-rel-d32.c: Move to ...
+       * c-c++-common/compare-rel-d32.c: here.
+       * gcc.dg/dfp/compare-rel-d64.c: Move to ...
+       * c-c++-common/compare-rel-d64.c: here.
+       * gcc.dg/dfp/compare-rel-dfp.c: Move to ...
+       * c-c++-common/compare-rel-dfp.c: here.
+       * gcc.dg/dfp/compare-rel.h: Move to ...
+       * c-c++-common/compare-rel.h: here.
+       * gcc.dg/dfp/compare-special-d128.c: Move to ...
+       * c-c++-common/compare-special-d128.c: here.
+       * gcc.dg/dfp/compare-special-d32.c: Move to ...
+       * c-c++-common/compare-special-d32.c: here.
+       * gcc.dg/dfp/compare-special-d64.c: Move to ...
+       * c-c++-common/compare-special-d64.c: here.
+       * gcc.dg/dfp/compare-special.h: Move to ...
+       * c-c++-common/compare-special.h: here.
+       * gcc.dg/dfp/constants-zero.c: Move to ...
+       * c-c++-common/constants-zero.c: here.
+       * gcc.dg/dfp/convert-bfp-10.c: Move to ...
+       * c-c++-common/convert-bfp-10.c: here.
+       * gcc.dg/dfp/convert-bfp-11.c: Move to ...
+       * c-c++-common/convert-bfp-11.c: here.
+       * gcc.dg/dfp/convert-bfp-12.c: Move to ...
+       * c-c++-common/convert-bfp-12.c: here.
+       * gcc.dg/dfp/convert-bfp-13.c: Move to ...
+       * c-c++-common/convert-bfp-13.c: here.
+       * gcc.dg/dfp/convert-bfp-14.c: Move to ...
+       * c-c++-common/convert-bfp-14.c: here.
+       * gcc.dg/dfp/convert-bfp-2.c: Move to ...
+       * c-c++-common/convert-bfp-2.c: here.
+       * gcc.dg/dfp/convert-bfp-3.c: Move to ...
+       * c-c++-common/convert-bfp-3.c: here.
+       * gcc.dg/dfp/convert-bfp-4.c: Move to ...
+       * c-c++-common/convert-bfp-4.c: here.
+       * gcc.dg/dfp/convert-bfp-5.c: Move to ...
+       * c-c++-common/convert-bfp-5.c: here.
+       * gcc.dg/dfp/convert-bfp-6.c: Move to ...
+       * c-c++-common/convert-bfp-6.c: here.
+       * gcc.dg/dfp/convert-bfp-7.c: Move to ...
+       * c-c++-common/convert-bfp-7.c: here.
+       * gcc.dg/dfp/convert-bfp-8.c: Move to ...
+       * c-c++-common/convert-bfp-8.c: here.
+       * gcc.dg/dfp/convert-bfp-9.c: Move to ...
+       * c-c++-common/convert-bfp-9.c: here.
+       * gcc.dg/dfp/convert-bfp.c: Move to ...
+       * c-c++-common/convert-bfp.c: here.
+       * gcc.dg/dfp/convert-bfp-fold.c: Move to ...
+       * c-c++-common/convert-bfp-fold.c: here.
+       * gcc.dg/dfp/convert-dfp.c: Move to ...
+       * c-c++-common/convert-dfp.c: here.
+       * gcc.dg/dfp/convert-dfp-fold-2.c: Move to ...
+       * c-c++-common/convert-dfp-fold-2.c: here.
+       * gcc.dg/dfp/convert-dfp-fold.c: Move to ...
+       * c-c++-common/convert-dfp-fold.c: here.
+       * gcc.dg/dfp/convert.h: Move to ...
+       * c-c++-common/convert.h: here.
+       * gcc.dg/dfp/convert-int.c: Move to ...
+       * c-c++-common/convert-int.c: here.
+       * gcc.dg/dfp/convert-int-fold.c: Move to ...
+       * c-c++-common/convert-int-fold.c: here.
+       * gcc.dg/dfp/convert-int-max.c: Move to ...
+       * c-c++-common/convert-int-max.c: here.
+       * gcc.dg/dfp/convert-int-max-fold.c: Move to ...
+       * c-c++-common/convert-int-max-fold.c: here.
+       * gcc.dg/dfp/convert-int-saturate.c: Move to ...
+       * c-c++-common/convert-int-saturate.c: here.
+       * gcc.dg/dfp/func-array.c: Move to ...
+       * c-c++-common/func-array.c: here.
+       * gcc.dg/dfp/func-deref.c: Move to ...
+       * c-c++-common/func-deref.c: here.
+       * gcc.dg/dfp/func-mixed.c: Move to ...
+       * c-c++-common/func-mixed.c: here.
+       * gcc.dg/dfp/func-pointer.c: Move to ...
+       * c-c++-common/func-pointer.c: here.
+       * gcc.dg/dfp/func-scalar.c: Move to ...
+       * c-c++-common/func-scalar.c: here.
+       * gcc.dg/dfp/func-struct.c: Move to ...
+       * c-c++-common/func-struct.c: here.
+       * gcc.dg/dfp/func-vararg-alternate-d128-2.c: Move to ...
+       * c-c++-common/func-vararg-alternate-d128-2.c: here.
+       * gcc.dg/dfp/func-vararg-alternate-d128.c: Move to ...
+       * c-c++-common/func-vararg-alternate-d128.c: here.
+       * gcc.dg/dfp/func-vararg-alternate-d32.c: Move to ...
+       * c-c++-common/func-vararg-alternate-d32.c: here.
+       * gcc.dg/dfp/func-vararg-alternate-d64.c: Move to ...
+       * c-c++-common/func-vararg-alternate-d64.c: here.
+       * gcc.dg/dfp/func-vararg-alternate.h: Move to ...
+       * c-c++-common/func-vararg-alternate.h: here.
+       * gcc.dg/dfp/func-vararg-dfp.c: Move to ...
+       * c-c++-common/func-vararg-dfp.c: here.
+       * gcc.dg/dfp/func-vararg-mixed-2.c: Move to ...
+       * c-c++-common/func-vararg-mixed-2.c: here.
+       * gcc.dg/dfp/func-vararg-mixed.c: Move to ...
+       * c-c++-common/func-vararg-mixed.c: here.
+       * gcc.dg/dfp/func-vararg-size0.c: Move to ...
+       * c-c++-common/func-vararg-size0.c: here.
+       * gcc.dg/dfp/inf-1.c: Move to ...
+       * c-c++-common/inf-1.c: here.
+       * gcc.dg/dfp/loop-index.c: Move to ...
+       * c-c++-common/loop-index.c: here.
+       * gcc.dg/dfp/modes.c: Move to ...
+       * c-c++-common/modes.c: here.
+       * gcc.dg/dfp/nan-1.c: Move to ...
+       * c-c++-common/nan-1.c: here.
+       * gcc.dg/dfp/nan-2.c: Move to ...
+       * c-c++-common/nan-2.c: here.
+       * gcc.dg/dfp/operator-arith-fold.c: Move to ...
+       * c-c++-common/operator-arith-fold.c: here.
+       * gcc.dg/dfp/operator-assignment.c: Move to ...
+       * c-c++-common/operator-assignment.c: here.
+       * gcc.dg/dfp/operator-comma.c: Move to ...
+       * c-c++-common/operator-comma.c: here.
+       * gcc.dg/dfp/operator-cond.c: Move to ...
+       * c-c++-common/operator-cond.c: here.
+       * gcc.dg/dfp/operator-logical.c: Move to ...
+       * c-c++-common/operator-logical.c: here.
+       * gcc.dg/dfp/operator-unary.c: Move to ...
+       * c-c++-common/operator-unary.c: here.
+       * gcc.dg/dfp/pr31385.c: Move to ...
+       * c-c++-common/pr31385.c: here.
+       * gcc.dg/dfp/pr33466.c: Move to ...
+       * c-c++-common/pr33466.c: here.
+       * gcc.dg/dfp/pr35620.c: Move to ...
+       * c-c++-common/pr35620.c: here.
+       * gcc.dg/dfp/pr36800.c: Move to ...
+       * c-c++-common/pr36800.c: here.
+       * gcc.dg/dfp/pr39034.c: Move to ...
+       * c-c++-common/pr39034.c: here.
+       * gcc.dg/dfp/pr39035.c: Move to ...
+       * c-c++-common/pr39035.c: here.
+       * gcc.dg/dfp/pr39902.c: Move to ...
+       * c-c++-common/pr39902.c: here.
+       * gcc.dg/dfp/pr39986.c: Move to ...
+       * c-c++-common/pr39986.c: here.
+       * gcc.dg/dfp/signbit-1.c: Move to ...
+       * c-c++-common/signbit-1.c: here.
+       * gcc.dg/dfp/signbit-2.c: Move to ...
+       * c-c++-common/signbit-2.c: here.
+       * gcc.dg/dfp/struct-layout-1.c: Move to ...
+       * c-c++-common/struct-layout-1.c: here.
+       * gcc.dg/dfp/usual-arith-conv.c: Move to ...
+       * c-c++-common/usual-arith-conv.c: here.
+       * gcc.dg/dfp/usual-arith-conv-const.c: Move to ...
+       * c-c++-common/usual-arith-conv-const.c: here.
+
 2009-09-18  Jack Howarth  <howarth@bromo.med.uc.edu>
 
        PR testsuite/41288
diff --git a/gcc/testsuite/c-c++-common/dfp/dfp-dbg.h b/gcc/testsuite/c-c++-common/dfp/dfp-dbg.h
new file mode 100644 (file)
index 0000000..cde76c4
--- /dev/null
@@ -0,0 +1,20 @@
+#ifdef __cplusplus
+typedef float _Decimal32 __attribute__((mode(SD)));
+typedef float _Decimal64 __attribute__((mode(DD)));
+typedef float _Decimal128 __attribute__((mode(TD)));
+
+#define EXTERN extern "C"
+#else
+#define EXTERN extern
+#endif
+
+int failures;
+
+#ifdef DBG
+extern int printf (const char *, ...);
+#define FAILURE { printf ("failed at line %d\n", __LINE__); failures++; }
+#define FINISH if (failures != 0) __builtin_abort (); return 0;
+#else
+#define FAILURE __builtin_abort ();
+#define FINISH return 0;
+#endif
index ce6668f..73edb7f 100644 (file)
@@ -48,9 +48,12 @@ set DEFAULT_CFLAGS "-std=gnu99"
 # Initialize `dg'.
 dg-init
 
-# Main loop.
+# Main loop; run the C-only tests.
 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
         "" $DEFAULT_CFLAGS
+# Run the tests that are shared with C++ testing.
+dg-runtest [lsort [glob -nocomplain $srcdir/c-c++-common/dfp/*c]] \
+        "" $DEFAULT_CFLAGS
 
 # All done.
 dg-finish