[Bug middle-end/19650] [4.0 Regression] miscompilating of array acess of (int)(a==2)
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 28 04:06:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-28 04:06 -------
Subject: Bug 19650
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-ppc-branch
Changes by: dalej@gcc.gnu.org 2005-01-28 04:06:25
Modified files:
gcc : ChangeLog.apple-ppc fold-const.c
gcc/testsuite : ChangeLog.apple-ppc
Added files:
gcc/testsuite/g++.dg: pr19650.C
Log message:
2005-01-26 Dale Johannesen <dalej@apple.com>
Radar 3974393
PR 19650
* fold-const.c (fold_binary_op_with_conditional_arg):
Make constant 0 or 1 be of correct type.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.288&r2=1.1.2.289
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.213.2.81.2.15&r2=1.213.2.81.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.100&r2=1.1.2.101
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/pr19650.C.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19650
More information about the Gcc-bugs
mailing list