Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/gnu/dist/gcc/gcc Pullup rev 1.7 (requested by mrg in ti...



details:   https://anonhg.NetBSD.org/src/rev/c3901a235640
branches:  netbsd-2-0
changeset: 560424:c3901a235640
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Apr 16 22:49:30 2004 +0000

description:
Pullup rev 1.7 (requested by mrg in ticket #142)

Apply changes from PR#22489

diffstat:

 gnu/dist/gcc/gcc/ChangeLog |  27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r d75d3bc4d907 -r c3901a235640 gnu/dist/gcc/gcc/ChangeLog
--- a/gnu/dist/gcc/gcc/ChangeLog        Fri Apr 16 22:45:52 2004 +0000
+++ b/gnu/dist/gcc/gcc/ChangeLog        Fri Apr 16 22:49:30 2004 +0000
@@ -1,3 +1,30 @@
+2003-07-10  Kazu Hirata         <kazu%cs.umass.edu@localhost>
+
+       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-04  Jeff Law  <law%redhat.com@localhost>
+
+       PR c/11428
+       * expr.c (do_store_flag): Pass in the correct result type
+       when calling fold_single_bit_test.
+       * fold-const.c (fold_single_bit_test): Use result_type for the
+       result when folding a sign bit test.
+
+2003-07-02  Jeff Law  <law%redhat.com@localhost>
+
+       * expr.c (do_store_flag): Remove special case folding for
+       single bit tests.  Instead call back into the commonized folder
+       routine.
+       * fold-const.c (fold_single_bit_test): New function, mostly
+       extracted from do_store_flag, with an additional case extracted
+       from fold.
+       (fold): Call fold_single_bit_test appropriately.
+       * tree.h (fold_single_bit_test): Prototype.
+
 2004-01-27  Eric Botcazou  <ebotcazou%libertysurf.fr@localhost>
 
        PR target/10904



Home | Main Index | Thread Index | Old Index