This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11937] [3.3 Regression] bogus warning while compiling gcc/function.c


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11937



------- Additional Comments From uwe at ptc dot spbu dot ru  2003-08-16 02:25 -------
Subject: Re:  [3.3 Regression] bogus warning while compiling gcc/function.c

On Sat, Aug 16, 2003 at 06:18:50 +0400, Valeriy E. Ushakov wrote:


> The warning goes away after applying
> 
> expr.c:		1.561, 1.562
> fold-const.c:	1.273, 1.276
> tree.h:		1.419

It probably also needs fold-const.c 1.280, as c/11449 blames
fold-const.c 1.273

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]