[Bug c++/14755] [3.3/3.4/3.5 regression] miscompilation in bitfielded signed integers
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 1 16:27:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-01 16:27 -------
Subject: Bug 14755
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: jakub@gcc.gnu.org 2004-04-01 16:27:07
Modified files:
gcc : ChangeLog fold-const.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20040331-1.c
Log message:
PR c++/14755
* fold-const.c (fold) <EQ_EXPR>: Properly compute newconst in
"bitfld++ == const" to "++bitfld == const + incr" transformations.
* gcc.c-torture/execute/20040331-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.962&r2=1.16114.2.963
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.227.2.6&r2=1.227.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.371&r2=1.2261.2.372
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20040331-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14755
More information about the Gcc-bugs
mailing list