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)
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

index e63ffc05b50762b1dc07071b29540b18b07a9fcd..d5a452fc454db21f3d8990704bdafe3361f4db81 100644 (file)
@@ -2,6 +2,14 @@
 
        * gcov-dump.c (dump_file): Fix missing address operator.
 
+2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       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.
+
 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (a peephole2): New.
index 25e7b5ff56391fc7ccea33edcdf098cf5b69be8d..de6fba2b50d2a504c154ad27f996ebb266ef7da8 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR c/11449
+       * gcc.c-torture/compile/20030707-1.c: New.
+
 2003-07-10  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        PR c++/10849