diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-12-04 21:45:41 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-12-04 21:45:41 +0000 |
commit | 1344f9a3189ed48181c844c7d2cc1f70511ab898 (patch) | |
tree | 09a78feaae42dbb50fdaf694eca604caa1029b35 /libdecnumber/decNumber.h | |
parent | d77314ece616e1a2626ebd2f6abf55ecda0b440f (diff) | |
download | gcc-1344f9a3189ed48181c844c7d2cc1f70511ab898.zip gcc-1344f9a3189ed48181c844c7d2cc1f70511ab898.tar.gz gcc-1344f9a3189ed48181c844c7d2cc1f70511ab898.tar.bz2 |
c-common.c (binary_op_error): Do not allow NOP_EXPR.
* c-common.c (binary_op_error): Do not allow NOP_EXPR.
(c_common_truthvalue_conversion): Handle NOP_EXPR the same as
CONVERT_EXPR.
(check_function_arguments_recurse): Allow both NOP_EXPR and
CONVERT_EXPR but check conversions preserve precision.
* c-typeck.c (pointer_diff): Allow both NOP_EXPR and CONVERT_EXPR
but check conversions preserve precision.
(build_unary_op): Don't allow NOP_EXPR. Use gcc_unreachable () in
default case.
testsuite:
* gcc.dg/format/cast-1.c: New test.
From-SVN: r108020
Diffstat (limited to 'libdecnumber/decNumber.h')
0 files changed, 0 insertions, 0 deletions