This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/24227] [4.1 Regression] ICE in compare_values, at tree-vrp.c:415



------- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-07 18:12 -------
Subject: Bug 24227

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     rguenth@gcc.gnu.org     2005-10-07 18:12:11

Modified files:
        gcc            : ChangeLog fold-const.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gcc.c-torture/compile: pr24227.c 

Log message:
        2005-10-07  Richard Guenther  <rguenther@suse.de>

        PR middle-end/24227
        * fold-const.c (fold_binary): Fix operand types during folding
        of X op (A, Y).  Evaluation order of the side-effects of
        X and A are frontend-defined, so ensure we honour that even for
        tcc_comparison class operands; eased by removing duplicate code.

        * gcc.c-torture/compile/pr24227.c: New testcase.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10117&r2=2.10118
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.626&r2=1.627
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6150&r2=1.6151
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr24227.c.diff?cvsroot=gcc&r1=NONE&r2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24227


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]