diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-10 12:51:27 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-10 12:51:27 +0000 |
commit | 695aa232af03b5a927643d204fdd6ed80d2f1fb8 (patch) | |
tree | 4712deebe0cfca037d11aeeba4ebac60aa7c4d14 /gcc | |
parent | 4decc2b5148d95f49d11db48587bc135fb241458 (diff) | |
download | gcc-695aa232af03b5a927643d204fdd6ed80d2f1fb8.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e63ffc05b50..d5a452fc454 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,14 @@ 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. 2003-07-10 Alexandre Oliva <aoliva@redhat.com> diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 25e7b5ff563..de6fba2b50d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 |