This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11937] [3.3 Regression] bogus warning while compiling gcc/function.c
- From: "uwe at ptc dot spbu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2003 02:25:42 -0000
- Subject: [Bug optimization/11937] [3.3 Regression] bogus warning while compiling gcc/function.c
- References: <20030816003558.11937.uwe@netbsd.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.