OSDN Git Service

* tree.h (DECIMAL_FLOAT_TYPE_P): New.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jun 2006 21:17:53 +0000 (21:17 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jun 2006 21:17:53 +0000 (21:17 +0000)
commite5d0ba064e4b160d9a8821adbabbab2ef44da7c2
tree37c4db6e4704c909e6788fed55acb58ba4c4c1a2
parentb0cb894aa9cb7df0bf2de25acd96748e30652f43
* tree.h (DECIMAL_FLOAT_TYPE_P): New.
* c-typeck.c (c_common_type): Disallow operations on decimal float
types and other float types.
* convert.c (convert_to_real): Don't ignore conversions involving
decimal float types.

testsuite:
* gcc.dg/dfp/usual-arith-conv-bad.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114951 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/usual-arith-conv-bad.c [new file with mode: 0644]
gcc/tree.h