re PR c/11449 (ICE in invert_truthvalue called on AND operation)
authorKazu Hirata <kazu@gcc.gnu.org>
Thu, 10 Jul 2003 12:51:27 +0000 (12:51 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 10 Jul 2003 12:51:27 +0000 (12:51 +0000)
commit11791dbccca83858345c2dbb36b751c218fd4213
tree4712deebe0cfca037d11aeeba4ebac60aa7c4d14
parent0c3b76ea504aee2b62a27fec929b985d5411298d
re PR c/11449 (ICE in invert_truthvalue called on AND operation)

PR c/11449
* fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
of HOST_WIDE_INT.
(fold_single_bit_test): If sign_bit_p() fails, assume that the
bit being tested is not a sign bit.

PR c/11449
* gcc.c-torture/compile/20030707-1.c: New.
* config/h8300/h8300.md (a peephole2): New.

From-SVN: r69187
gcc/ChangeLog
gcc/testsuite/ChangeLog