diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-12-27 23:27:34 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-12-27 23:27:34 +0000 |
commit | fd6c76f46242891b11b7abbacb3c735f0012a240 (patch) | |
tree | 3a566e041774c2831cfd87b087b4ca55259f0e53 /gcc/basic-block.h | |
parent | 5156c0c3a78803759bd723877af0ef2baafea938 (diff) | |
download | gcc-fd6c76f46242891b11b7abbacb3c735f0012a240.zip gcc-fd6c76f46242891b11b7abbacb3c735f0012a240.tar.gz gcc-fd6c76f46242891b11b7abbacb3c735f0012a240.tar.bz2 |
fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be evaluated at compile-time (instead...
* fold-const.c (int_const_binop): Return NULL_TREE when an expression
can't be evaluated at compile-time (instead of calling abort).
Return NULL_TREE for division (and modulus) by zero.
(const_binop): Return NULL_TREE for floating point operators that
aren't handled by real_arithmetic.
(fold_binary): Eliminate "wins" variable, and "binary" label, by
folding operators with constant operands early. Assert that
operands are non-NULL.
From-SVN: r109088
Diffstat (limited to 'gcc/basic-block.h')
0 files changed, 0 insertions, 0 deletions