This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11449] [3.4 Regression] ICE in invert_truthvalue called on AND operation
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2003 12:40:17 -0000
- Subject: [Bug c/11449] [3.4 Regression] ICE in invert_truthvalue called on AND operation
- References: <20030707033540.11449.trisk@quasarnet.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=11449
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-10 12:40 -------
Subject: Bug 11449
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: kazu@gcc.gnu.org 2003-07-10 12:40:10
Modified files:
gcc : fold-const.c
Added files:
gcc/testsuite/gcc.c-torture/compile: 20030707-1.c
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.279&r2=1.280
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20030707-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1