This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23522] [3.4/4.0/4.1 Regression] fold_widened_comparison bug
- 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: 18 Oct 2005 03:16:27 -0000
- Subject: [Bug middle-end/23522] [3.4/4.0/4.1 Regression] fold_widened_comparison bug
- References: <bug-23522-7321@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-18 03:16 -------
Subject: Bug 23522
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ian@gcc.gnu.org 2005-10-18 03:16:21
Modified files:
gcc : ChangeLog fold-const.c
Log message:
PR middle-end/23522
* fold-const.c (fold_widened_comparison): Do not allow range based
constant folding when right operand cannot be unwidened.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10178&r2=2.10179
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.627&r2=1.628
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23522