[Bug c/11449] [3.4 Regression] ICE in invert_truthvalue called on AND operation
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 10 12:40:00 GMT 2003
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
More information about the Gcc-bugs
mailing list