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
This commit is contained in:
Kazu Hirata 2003-07-10 12:51:27 +00:00
parent 0c3b76ea50
commit 11791dbccc
2 changed files with 13 additions and 0 deletions

View 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.

View 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